Getting sick and tired of going to that webblog site when you go to a page that is not there?
Want a custom error 404 page?
and you are not a premium member?
If yes then this tutorial is for you
1. Iin your htdocs directory create a file called ".htaccess" without the quotes. If you already have an .htaccess file just open it up
2. In that file put in this code:
Where it says your error page put the name of the file of the page you wan your users to see if they go to a URL that doesnt existCode:ErrorDocument 404 /yourerrorpage.html
3. While you are in there you may also want to add in:
This code will show your php errors on your php pages, this is optionalCode:php_value display_errors on
5. Create a new file which you want the users to see if they visit a URL that isnt in your directory
6. In that file put whatever you want in it, it might be a good idea to add in a link to your index page and a search box for users to search your site
7. Save
8. Test: Go to a website that you know doesnt exist and your error page should come up.
If you have any problems just post back here and i will help
Thanks,
Ian




Reply With Quote








Login or Billing issues? File a support ticket via:
