Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjoern Maassen 11 posts 122 karma points
    Dec 21, 2016 @ 11:23
    Bjoern Maassen
    0

    Multilanguage Website with HTTPS and WWW

    Hi everyone

    we want to configure our new website to use www and https.

    i have read several topics in this forum but could'nt find any solution for our problem:

    i changed the web.config part ' add key="umbracoUseSSL" value="true" ' but we have three languages and now when i enter the website using https i get an error "Page cannot be found"

    i republished the site but it wouldnt help.

    another thing is, it seems to me that there are many ways to create a redirect for the website to use www - but which one is the best one using IIS8 ?

    thanks for any response

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Dec 21, 2016 @ 12:22
    Dan Diplo
    0

    I'm assuming you have three sites within your Umbraco installation, one for each language. If this is the case, have you updated the domains for each site? ie. right click the home node of a site and choose Culture and Hostnames and ensure you haven't hardcoded http into there.

    For a rewrite I always do it in web.config using rewrite rule:

    <rewrite>
          <rules>
              <rule name="Redirect to WWW" patternSyntax="Wildcard" stopProcessing="true">
                <match url="*" />
                <conditions>
                  <add input="{HTTP_HOST}" pattern="domain.co.uk" />
                </conditions>
                <action type="Redirect" url="https://www.domain.co.uk/{R:0}" />
              </rule>
        </rewrite>
    

    You'll need to have installed the IIS Rewrite Module.

  • Bjoern Maassen 11 posts 122 karma points
    Dec 22, 2016 @ 10:23
    Bjoern Maassen
    0

    thanks for your help!

    we found a way to rediret our website correctly but we have another problem:

    http-ping sends us the corret code but when i try to enter the website it gets redirected to a page without WWW but with https ...

    now i saw that the package SEO Checker is installed - may that be the problem?

    because i saw a reference in the web.config:

    section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false" type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter"

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies