Search


Submit Article

If you would like to submit an article, click the button below.

Navigation


<-- Back to Current Category

PHP & Error Pages

By: Oland Whitecotton, Fri Dec 9th, 2005 11:53:08 AM

Plain old static html error pages are in-descriptive and frustrating, one of the main to reasons webmasters commonly choose to make a mistake and redirect all 404s to their home page. Instead of redirecting, use PHP to let the user know what page they were trying to access and a note saying it no longer exists. Then give them a couple of options such as go back to referring site, continue your site's home page, etc.

You might also integrate an email function to let yourself know a page is no longer up, or a site is linking to a non-existent page on your website. Even an option for the visitor to report the non-existent page is a good idea.

About the author: Professional website developer at simplyPHP.com.

(Article continued below)

 

Sign In

Username:
Password:
 No account yet?

 



 
Home | Contact Us | XML SiteMap
Free Articles © 2004 - 2008 - Information Articles