<!-- SEO: Redirect from the domain without www to the domain with www--> <addname="seoCanonical" virtualUrl="http://domain.dk/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="http://www.domain.dk/$1" redirect="Domain" redirectMode="Permanent" ignoreCase="true"/>
<!-- SEO: Redirects from any domain to the standard domain--> <addname="seoCanonical" virtualUrl="http://(?!www\.domain.dk).*?/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="http://www.domain.dk/$1" redirect="Domain" redirectMode="Permanent" ignoreCase="true"/>
Redirecting all non-www urls to www?
Just wanted to check on this before I make any changes.
I need to redirect all non-www. pages to the www. version. I'm assuming I would need to create a rule using a regular expression?
Is that correct and/or should I be doing this another way? I'm not very familiar with regex so if anyone had an example it would be much appreciated.
thank you
Hi aaronb,
Try to see Doug Mackay post, and see if you could do some similar I think so.
http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/17657-301-Redirect-domaindk-to-wwwdomaindk
Hope this helps you.
/Dennis
You can also do this with the SEO Checker package.
Jeroen
is working on a reply...
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.