The problem I have is that the old Urls still work and don't seem to redirect to the new Urls. The Url stays the same in the browser and by using Fiddler to check the HTTP requests, it's showing as a 200 - OK. Not a 301 to be seen.
My concern is that this will look like duplicate content to the search engines. I've tried clicking on the top node of my site and doing "Republish whole site" but it doesn't seem to have helped.
In your redirection rule you have to add the attribute 'redirect' (with one of the following values: application/domain). As by default it does a simple rewrite and not a real redirection.
Move published nodes still work
Funny problem, I've moved a section of my Umbraco 4.7.1 and set up some 301 redirects in the UrlRewriting config
e.g.
<add name="IWantToStayRewrite"
virtualUrl="^~/i-want-to-stay-in-a/(.*)"
redirectMode="Permanent"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="~/great-honeymoon-ideas/i-want-to-stay-in-a/$1"
ignoreCase="true" />
The problem I have is that the old Urls still work and don't seem to redirect to the new Urls. The Url stays the same in the browser and by using Fiddler to check the HTTP requests, it's showing as a 200 - OK. Not a 301 to be seen.
My concern is that this will look like duplicate content to the search engines. I've tried clicking on the top node of my site and doing "Republish whole site" but it doesn't seem to have helped.
Any ideas?
Cheers
Simon
Hi Simon,
In your redirection rule you have to add the attribute 'redirect' (with one of the following values: application/domain). As by default it does a simple rewrite and not a real redirection.
You may find the information in the urlrewritting.net documentation on page number 11 of the pdf available there : http://www.urlrewriting.net/160/en/documentation.html
Regards,
Christophe
is working on a reply...