Thread: Custom 404 page
View Single Post
  #2 (permalink)  
Old 26-01-2008, 11:59
mdlp mdlp is offline
Junior Member
 
Join Date: Jan 2008
Location: Tipton West Mids
Posts: 21
Default

Forget about using cPanel. Write your custom error page and store it somewhere, I use a folder called errors where all my error pages are stored.

Then edit your .htaccess file to relfect this ie add this line:

ErrorDocument 404 /errors/404.php
Don't forget to comment out or delete any referance to 404.shtml if it's present.