Copied to clipboard

Flag this post as spam?

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


  • Kim Hansen 63 posts 144 karma points
    May 25, 2011 @ 10:26
    Kim Hansen
    0

    url Rewrite domain.xx to www.domain.xx

    Hi there

     

    How do i make a urlRewrite from domain.xx to www.domain.xx?

    Ive got 13 domains to redirect, so i would like to make the domain name variable.

     

    <add name="urlRedirectTowww"
    virtualUrl="http://something.dk/(.*)"
    rewriteUrlParameter="ExcludeFromClientQueryString"
    destinationUrl=http://www.somthing.dk/$2
    redirect="Domain"
    redirectMode="Permanent"
    ignoreCase="true" />

  • Doug Mackay 56 posts 155 karma points
    May 26, 2011 @ 00:41
    Doug Mackay
    0

    Have you looked at http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/17657-301-Redirect-domaindk-to-wwwdomaindk ?

    You should also be able to do something similar using the IIS URL Rewrite module on IIS 7 and above.

  • 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