Most of the core pages will continue to have the same URL (e.g. /about is in both sites) so I don't have to handle those. For the rest i would just like to redirect to the home page.
I have changed the error404 to be the home page node. Is this sufficient for SEO purposes and is it a 301 redirect?
- Use error404 in the umbracoSettings.config (but I don't know what HTTP status code it returns, I don't think it's 301, use Firebug or Fiddler to check it out) - Write your own INotFoundHandler which kicks in before the "handle404" handler in 404handlers.config
thanks, I have gone with 1st option as there were only a couple of minor pages. If they were key pages for site ranking I think the 2nd option would be mroe appropriate though.
404's + 301 redirects
I am converting an existing site into Umbraco.
Most of the core pages will continue to have the same URL (e.g. /about is in both sites) so I don't have to handle those. For the rest i would just like to redirect to the home page.
I have changed the error404 to be the home page node. Is this sufficient for SEO purposes and is it a 301 redirect?
Thanks
You could also use my package: The 301 URL Tracker for umbraco
It takes little time to correct the 404 pages from the old site to be redirect to the new pages and it gives much to your visitors and Google :-)
Hi,
just tried it out - your package works nicely. Is there a way of defaulting any pages not specified to do a 301 redirect to the home page?
You have two options:
- Use error404 in the umbracoSettings.config (but I don't know what HTTP status code it returns, I don't think it's 301, use Firebug or Fiddler to check it out)
- Write your own INotFoundHandler which kicks in before the "handle404" handler in 404handlers.config
thanks, I have gone with 1st option as there were only a couple of minor pages. If they were key pages for site ranking I think the 2nd option would be mroe appropriate though.
is working on a reply...