error pages

Status
Not open for further replies.

adamriley

New Member
Messages
5
Reaction score
0
Points
1
Hi could i ask when you create error pages in cpanel how do you get the error page to dissplay when there is an error message?
 

adamriley

New Member
Messages
5
Reaction score
0
Points
1
Thanks punk but i have already done the steps that it says and i still get the default 404 error page but thanks for the reply.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
You should have a file named .htaccess in public_html

Add a line like

ErrorDocument 404 /404.shtml

for each error document you have written and placed in public_html.
 

adamriley

New Member
Messages
5
Reaction score
0
Points
1
Is there any chance of an example of what the file should look like as when i changed it i get a error 500 internal sever error and thanks for the reply
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Is there any chance of an example of what the file should look like as when i changed it i get a error 500 internal sever error and thanks for the reply

You mean .htaccess?

Post yours and I can tell you any problems I see.

If you are using a CMS, it usually adds stuff to .htaccess, so I cannot tell you what it "should" look like.
 
Status
Not open for further replies.
Top