PDA

View Full Version : 404 error pages


qball0213
12-15-01, 04:08 AM
How can I customize my 404 error page?

sophiespo
12-15-01, 06:31 AM
Create a page you want people to see when they get a 404 error then edit your .htaccess file in the htdocs directory (i believe) to add the line:

ErrorDocument 404 http://url.to.404.error.page

If you want custom pages for other errors you can by using the same method:

ErrorDocument 500 http://url.to.500.error.page
ErrorDocument 403 http://url.to.500.error.page


etc

sophie

qball0213
12-15-01, 08:04 AM
Great thanks!