Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Blair 466 posts 731 karma points
    Dec 02, 2010 @ 23:04
    Paul Blair
    0

    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

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 02, 2010 @ 23:16
    Stefan Kip
    1

    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 :-)

  • Paul Blair 466 posts 731 karma points
    Dec 02, 2010 @ 23:34
    Paul Blair
    0

    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?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 02, 2010 @ 23:44
    Stefan Kip
    0

    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

  • Paul Blair 466 posts 731 karma points
    Dec 02, 2010 @ 23:52
    Paul Blair
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft