Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 21, 2016 @ 16:47
    Fuji Kusaka
    0

    Domain Redirect

    Hi guys,

    i have a very unusual issue with my backend after doing a domain redirect using "DE" (German) website.

    Now when we try to access the backend the normal usual way my-domain.com/umbraco we get a white blank page without any errors and without the url redirecting to the login page.

    This is what i have in my urlReWrite file

    <add name="DeWebsite" 
    redirect="Domain" 
    ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite" 
    virtualUrl="http://my-domain.com/de(.*)" 
    redirectMode="Permanent" 
    destinationUrl="http://www.my-domain.com$1" />
    

    I even tried removing the "DE" to "DK" and surprisingly it works, but never with DE.

    Any one ever experience this or have any suggestion ?

    //fuji

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Jul 22, 2016 @ 05:56
    Chriztian Steinmeier
    0

    Hi Fuji,

    Maybe the back office requests a page that starts with de - e.g.: default.aspx ? That would get rewritten by your rule... Try to include the slash in the pattern to make sure only requests in the de site are rewritten.

    /Chriztian

  • Fuji Kusaka 2203 posts 4220 karma points
    Jul 22, 2016 @ 08:21
    Fuji Kusaka
    0

    Hi Chriztian,

    We tried

    <add name="DeWebsite" 
    redirect="Domain" 
    ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite" 
    virtualUrl="http://my-domain.com/de/(.*)" 
    redirectMode="Permanent" 
    destinationUrl="http://www.my-domain.com$1" />
    

    but then all cultures DE dont get redirected.

  • 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