404 error pages

Status
Not open for further replies.

coco10

New Member
Messages
3
Reaction score
0
Points
0
404 custom error pages does not seems to be functional..
It returns the default 404 page even if i've added mine in the cpanel..
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
404 custom error pages does not seems to be functional..
It returns the default 404 page even if i've added mine in the cpanel..

Add the error filename to to .htaccess file. (It is hidden file and will be thee in public_html folder)
Example:

ErrorDocument 404 /notfound.html

here it is for 404 error the error file name is notfound.html and it is in public_html folder
 

coco10

New Member
Messages
3
Reaction score
0
Points
0
I've added these entries on the .htaccess and now i can use cpanel error pages option just fine..

ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml

My suggestion is that these entries should be there by default because without them error pages does not work.:redface:
 
Status
Not open for further replies.
Top