Custom 404 Error Pages by NedreN

B

Brandon

Guest
NedreN Posted this a day ago.

NedreN said:
You can do it. :)

In your main .htaccess file in public_html, add a line for each HTTP error code that you want to "control".

This is the line:
Code:
ErrorDocument [Code] [Full/Path/To/Page.extension]

Example for a 404 error (File not found):

Code:
ErrorDocument 404 /errorPages/notFound.php
 
Top