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.
|