Help in costumising error page

Status
Not open for further replies.

conboi

New Member
Messages
22
Reaction score
0
Points
0
hi
i am new in this great site ,i couldn't modify the error page like 404 ,can anybody please help me
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Design your pages.
Create a folder in public_html named error
Put pages in there.
In public_html open the file .htaccess
Add the lines:

Code:
ErrorDocument 403 /error/403.html

ErrorDocument 500 /error/500.html

ErrorDocument 404 /error/404.html

with the name of the file you made attached to the proper error.

You can call the 404 page "missing.html" or nothere.php . I just like my filenames to be precise.
 

eyemdee

New Member
Messages
53
Reaction score
1
Points
0
I think you have to create the page that you would like to use, give it a filename, for example errorpage.htm, then upload it to your site. Then add the line "DocumentError 404 /errorpage.htm" to your .htaccess file. I am sure someone will correct me if this is wrong!

Edit: Too slow!!
 
Last edited:

farscapeone

Community Advocate
Community Support
Messages
1,165
Reaction score
27
Points
48
There's a cPanle alternative and you don't have to edit your .htaccess if you don't know how. Just look at the bottom (in "Advanced" section) for "Error pages". It should be strait forward to use.
 
Status
Not open for further replies.
Top