Create your own 404 error page
|
Here is a simple help how to create your own error page
If you click on a broken link, nothing loads except from the words "404
Error" along with the usual text. So what is a 404 error page? The 404
error page, basically informs the user that the server cannot find the file
they are looking for. However, instead of using the default 404 error page
you can create your own, this is how you do it. Most of the hosting companies allow to create error page as you like upload
to your website. If you don't upload your error page the server displays default
server error page. First, you need to create your .htaccess file which should
be within your web site directory. If you cannot find it you will need to create
one. You will have to contact your host asking them how you would go about
creating or editing this file. They may want you to use a text editor and then
upload it. Add this
line to the .htaccess file: ErrorDocument 404 http://www.yourdomainname.com/404page.html.
Once you’ve created the HTML document, save it and call it 404page.html.
Now the next step is to upload the .htaccess file and the page to the server.
Now test to see if it’s worked. Just go to a page that doesn’t
exist on your server and you should see your new 404 error page. If not, you
may want to ask your hosting company for support.
When you create a error page, add your email link on error page and you can
request your visitor to inform you about the error, dont put too much html
or graphics on these error page.
|