Can No Longer Create 404 Pages

Status
Not open for further replies.

jpb6891

Member
Messages
33
Reaction score
0
Points
6
I can no longer create my own 404 pages. I get a default 404 page. Can this be fixed?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Create 404 page. Name it 404.html ( .shtml no longer works ).
Open .htaccess in public_html
Add

ErrorDocument 404 /404.html

Note the / before the file name.
Personally, I put my error docs in their own directory, error and use the line

ErrorDocument 404 /error/404.html
 
Status
Not open for further replies.
Top