Changing 404 page? (And other error pages)

Status
Not open for further replies.

HermXIV

New Member
Messages
28
Reaction score
0
Points
0
How do you change your 404 and other error pages? I tried editing the 404.shtml, no dice. Any help?
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
in cPanel there is an option to change error pages
 

HermXIV

New Member
Messages
28
Reaction score
0
Points
0
Yes, I tried that. No luck. You fill the field with html code right? Because I did that and got nothing.
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Hmm the cPanel one only works if you are not using a CMS that already provides a 404 Page.

If you are not using a CMS, you could also try this, the manual way:

1) Create an html file (or shtml, php, etc..) for your 404 Page elsewhere.
2) Upload it to your root public_html directory.
3) Add the following line to your root .htaccess file.

ErrorDocument 404 /error.php

Replace /error.php with whatever you named it and your directory that you uploaded it to.
 

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
Hi,

It appears as if the issue has been resolved, I'm going to close the thread now.

HermXIV, feel free to reopen the thread or create a new one if you need more help.

-Parkzer
 
Status
Not open for further replies.
Top