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?
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 ...
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?
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
an eJM site: The Floor Pro Community
FinalGear.com Forums -- my site/forums dedicated to Top Gear and Fifth Gear, two UK TV shows
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
an eJM site: The Floor Pro Community
This'll do it I think:
For more info: PHP: header - ManualPHP Code:<?php header( 'HTTP/1.0 403 Forbidden' ); ?>
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
Thank you very much. You'd think I'd know this stuff.
Jim
an eJM site: The Floor Pro Community
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.