Can you have your own 404 page?

Steeevoe

New Member
Messages
103
Reaction score
0
Points
0
Can you have your own 404 error page with x10 hosted website?

How do you make one for it?
 

driveflexfuel

New Member
Messages
159
Reaction score
0
Points
0
This is fairly simple.

Add the following line to your .htaccess file

ErrorDocument 404 /404.html

Next simply create a file named 404.html
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
Either that or use the wizard for error pages found at the base of your cpanel.
 

mattura

Member
Messages
570
Reaction score
2
Points
18
On another site, I managed to incorporate a mis-type corrector using levenshtein distance and an array of all my pages, it's awesome!
I'd recommend looking up the function and you can do it yourself:
PHP:
levenshtein($str1,$str2);
The above returns an integer roughly corresponding to how 'different' the two strings are. 0 means identical, a high number means very different.
 
Top