Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 419 posts 1001 karma points
    Sep 02, 2015 @ 14:24
    Ayo Adesina
    0

    Domain Level URL Rewriting

    Hey guys,

    I'm using Umbraco 4.7 and I am trying to use the UrlRewriting.config file to set up a domain level URL redirect.

    So for example, if a user hits the website at the following URL

    www.OLD-Domain.com/join.aspx

    I want rewrite the URL permanently to:

    www.NEW-Domain.com/join.aspx

    I'm hoping that the search engines will be able to see this too when they next visit the site to re-index it.

    Examples/Ideas please?

    Thanks

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Sep 03, 2015 @ 09:36
    Alex Skrypnyk
    0

    Hi Ayo,

        <add name="redirect21"
      redirect="Domain"
      ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
       virtualUrl="http://www.OLD-Domain.com/join.aspx"
       destinationUrl="http://www.NEW-Domain.com/join.aspx"/>
    
  • 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