Custom Error Pages available?

Status
Not open for further replies.

nalapachakam.in62

New Member
Messages
24
Reaction score
0
Points
1
Previously for errors like not found, it redirected to x10 page with not found message with ads

Now it shows the custom error page configured in cpanel Error pages

If this is a new permanent change, I warmly welcome this...

May i know is it permanent or just temporary?

---------- Post added at 03:13 PM ---------- Previous post was at 03:12 PM ----------

Also would like to know any html allowed in error pages?

---------- Post added at 03:15 PM ---------- Previous post was at 03:13 PM ----------

Or can i replace the error page files like 404.shtml? If yes, which folder is this pages located?
 

ajordan91

Banned
Messages
101
Reaction score
2
Points
0
x10hosting has had "custom error pages" by using .htaccess for a long time now

make a HTML page to throw when a file is not found (you can have a error page for most HTML errors)
here I name the file 'error404.html'

add a line like this to you .htaccess file ==> ErrorDocument 404 /error404.html <==

if you would like to keep all you error pages in a folder say [ errors ]
then add a line like this ==> ErrorDocument 404 /errors/error404.html <==

you would put them in folder [ public_html ]

------------------------------------------------

I do not think you can use SHTML (Server Side Include) type files
with a x10hosting's free-hosting account
 
Status
Not open for further replies.
Top