301 Redirects in Umbraco

Umbraco is able to perform page redirect to pages hosted withing the same site, and to pages on domains hosted elsewhere. To redirect from page-src to page-dest where both pages are within the same site, add the following entry to the urlrewritingnet > rewrites section of /config/UrlRewriting.config:

<add name="Rule1" 
  virtualUrl="~/page-src" 
  rewriteUrlParameter="ExcludeFromClientQueryString"
  redirect ="Application"
  redirectMode ="Permanent"
  destinationUrl="~/page-dest" 
  ignoreCase="true" />

To redirect from page-src on the current site to http://some-othere-domain/page-dest add the following entry:

<add name="Rule2" 
  virtualUrl="http://current-domain.com/page-src"
  rewriteUrlParameter="ExcludeFromClientQueryString"
  redirect ="Domain"
  redirectMode ="Permanent"
  destinationUrl="http://some-othere-domain/page-dest" 
  ignoreCase="true" />