Results 1 to 8 of 8

Best way to handle 404s

This is a discussion on Best way to handle 404s within the General Discussion forums, part of the vBSEO SEO Plugin category; Whats the best way to handle 404 errors? Should i redirect to my home page? Create the custom 404 error ...

  1. #1
    Senior Member
    Real Name
    dave
    Join Date
    Jun 2006
    Posts
    348
    Liked
    0 times
    Blog Entries
    1

    Best way to handle 404s

    Whats the best way to handle 404 errors?

    Should i redirect to my home page? Create the custom 404 error page or send 404 error code?

    Is there a benefit of doing one over the other SEO wise?

  2. #2
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times
    I decided a while back that the usual reason for getting a 404 was because they were looking for something specific and came up empty handed. If I just send them back to the home page, they're likely to be just as frustrated as before. Now, I don't know if my solution is all that great for SEO, but I suspect it helps the visitor - and it might even be a benefit to me financially. Here's my 404 page: www.thefloorpro.com/404.html - and it's valid XHTML Transitional too.

    Jim

  3. #3
    Member Viper007Bond's Avatar
    Real Name
    Viper007Bond
    Join Date
    Jan 2008
    Location
    Portland, Oregon, USA
    Posts
    65
    Liked
    0 times
    Quote Originally Posted by eJM View Post
    I decided a while back that the usual reason for getting a 404 was because they were looking for something specific and came up empty handed. If I just send them back to the home page, they're likely to be just as frustrated as before. Now, I don't know if my solution is all that great for SEO, but I suspect it helps the visitor - and it might even be a benefit to me financially. Here's my 404 page: Uh oh, 404 ERROR Page at The Floor Pro Community - and it's valid XHTML Transitional too.

    Jim
    You should rename that file "404.php" and add this to the top:

    PHP Code:
    <?php header'HTTP/1.0 404 Not Found' ); ?>
    That will tell Google and the likes that the file couldn't be found so it won't index it.
    FinalGear.com Forums -- my site/forums dedicated to Top Gear and Fifth Gear, two UK TV shows

  4. #4
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times
    Oh, thanks for that bit of information there, Viper. I appreciate that. Can I do a similar thing with my 403 page? 403 ERROR: Forbidden! at TheFloorPro.com

    Thanks again,

    Jim

  5. #5
    Member Viper007Bond's Avatar
    Real Name
    Viper007Bond
    Join Date
    Jan 2008
    Location
    Portland, Oregon, USA
    Posts
    65
    Liked
    0 times
    Quote Originally Posted by eJM View Post
    Oh, thanks for that bit of information there, Viper. I appreciate that. Can I do a similar thing with my 403 page? 403 ERROR: Forbidden! at TheFloorPro.com

    Thanks again,

    Jim
    This'll do it I think:

    PHP Code:
    <?php header'HTTP/1.0 403 Forbidden' ); ?>
    For more info: PHP: header - Manual
    Last edited by Viper007Bond; 01-20-2008 at 06:44 AM. Reason: PHP code fix
    FinalGear.com Forums -- my site/forums dedicated to Top Gear and Fifth Gear, two UK TV shows

  6. #6
    eJM
    eJM is offline
    Senior Member eJM's Avatar
    Real Name
    Jim McClain
    Join Date
    May 2006
    Location
    teh Ether
    Posts
    303
    Liked
    2 times
    Thank you very much. You'd think I'd know this stuff.

    Jim

  7. #7
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    yup, Also guys check the members articles forum. there's a sticky in there on how to make a custom 404 page and use vbseo to direct it there.

    you can pretty much paste in your 404.html into the 'guts' of the document.

  8. #8
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Liked
    32 times
    Blog Entries
    9

Similar Threads

  1. How to handle thread movement - redirects
    By serphog in forum General Discussion
    Replies: 4
    Last Post: 03-08-2007, 04:27 PM
  2. Can't handle asian characters
    By 夜神月, Tester in forum Bug Reporting
    Replies: 4
    Last Post: 01-17-2007, 11:20 PM
  3. How to handle changes to forum title/description
    By serphog in forum General Discussion
    Replies: 7
    Last Post: 09-30-2006, 01:35 AM
  4. Trying to get a handle on it
    By glenv in forum LinkBacks
    Replies: 0
    Last Post: 09-20-2006, 10:40 AM
  5. How do big boards handle performance isues?
    By dutchbb in forum General Discussion
    Replies: 19
    Last Post: 10-26-2005, 09:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •