Posted By

batfan on 04/22/11



Versions (?)

Umbraco WWW Redirect

 / Published in: ASP

Used to rewrite all non-www URL's to the www version, on sites using Umbraco. Place the rule in the UrlRewriting.config file, in the 'config' folder.

  1. <add name="seoCanonical"
  2. virtualUrl="*)"
  3. rewriteUrlParameter="ExcludeFromClientQueryString"
  4. destinationUrl="$1"
  5. redirect="Domain"
  6. redirectMode="Permanent"
  7. ignoreCase="true" />

Report this snippet  

You need to login to post a comment.