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 430 posts 1023 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 6133 posts 23952 karma points MVP 7x 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"/>
    
Please Sign in or register to post replies

Write your reply to:

Draft