Can you have your own 404 error page with x10 hosted website?
How do you make one for it?
Can you have your own 404 error page with x10 hosted website?
How do you make one for it?
The above message was posted by a guy called Steevoe. We hope you enjoyed his commenthttp://www.bmac.exofire.net/ :nuts:
This is fairly simple.
Add the following line to your .htaccess file
ErrorDocument 404 /404.html
Next simply create a file named 404.html
Either that or use the wizard for error pages found at the base of your cpanel.
Ahh thanks, I didn't see the wizard!
The above message was posted by a guy called Steevoe. We hope you enjoyed his commenthttp://www.bmac.exofire.net/ :nuts:
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:
The above returns an integer roughly corresponding to how 'different' the two strings are. 0 means identical, a high number means very different.PHP Code:levenshtein($str1,$str2);
Good idea Matt, that will come in useful :D
The above message was posted by a guy called Steevoe. We hope you enjoyed his commenthttp://www.bmac.exofire.net/ :nuts: