-
Custom 404 Error page
Date: Sep 17, 2011 | Categories: Html | Written By: Mike Ballan
Been seeing a lot of these custom pages of late and thought i would share with you how simple it is to make your very own page..!
First of you will need to make a .htaccess file that will detect if the user has the correct page url and if not will redirect them to your own 404 Error page.
All you need to do is open a text editor and paste the following code into it:
ErrorDocument 404 /404.html
Now the last part (404.html) can be anything you want as this will be the name of your 404 Error page.
Now when saving as a .htaccess has no extension just save it as a .html file and upload it to your hosting and then once there just change the file extension of the file to be .htaccess. And thats it really other than making your own 404 Error page that is.
I have made one you can download over on Amazium.co.uk if you cant be bothered to make your own.
Tags: 404 Error Page