Custom Error Pages Not Showing

Status
Not open for further replies.

mariomike9

New Member
Messages
9
Reaction score
0
Points
0
I had created a 403.shtml and 404.shtml in the cPanel,
and my error pages had been working for a while, but recently any
404 or 403 errors give me a generic x10hosting error page.

My site is http://www.roughroadsgame.com/

I'm on free hosting- does this feature no longer exist?
I've looked for my error page files, and they are still there.

Thanks in advance for any help!
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
I had created a 403.shtml and 404.shtml in the cPanel,
and my error pages had been working for a while, but recently any
404 or 403 errors give me a generic x10hosting error page.

My site is http://www.roughroadsgame.com/

I'm on free hosting- does this feature no longer exist?
I've looked for my error page files, and they are still there.

Thanks in advance for any help!

My custon error pages work on my free account.

Your .htaccess file (which points Apache toward your custom pages) might have gotten deleted or corrupted.

If you could post it here, something might be found.
 
Last edited:

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
I had created a 403.shtml and 404.shtml in the cPanel,
and my error pages had been working for a while, but recently any
404 or 403 errors give me a generic x10hosting error page.

My site is http://www.roughroadsgame.com/

I'm on free hosting- does this feature no longer exist?
I've looked for my error page files, and they are still there.

Thanks in advance for any help!

Please add this to your .htaccess file (you can find the .htaccess file in your cPanel's File Manager by either enabling the viewing of hidden files or by adding &showhidden=1 to the end of the URL of the File Manager):

Code:
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
After you do what adamparkzer said, clear your cache... If it does not work after, please post your .htaccess file here.
 

mariomike9

New Member
Messages
9
Reaction score
0
Points
0
I added the code adamparkzer gave me to the end of my .htaccess file and my error pages now work again!
Thank you to everyone for their quick and helpful responses!
 
Status
Not open for further replies.
Top