Custom error pages

Loads of sites have their own error pages. Follow this tutorial to make your own!
0.1Create a .htacess (include the dot at the beggining) file in notepad.
0.2 Add this code
ErrorDocument 404 http://www.yoursite.com/404error.html to your .htaccess file. Make sure you add your site URL where it says yoursite.com.
0.3Upload this file to your ftp program and make a page called 404error.html. On this page, you can have anything from just a back link to an error sign and text.
0.4You can make more error pages, not just error 404.
401 Authorization Required- You can password protect these pages.
403 Forbidden- You can ban ips using this or you can just make sure peopel can't access your folders on ftp.
500 Internal Server Error- These are server errors that happen sometimes.

For these pages just :
ErrorDocument 401 http://www.yoursite.com/401error.html
ErrorDocument 403 http://www.yoursite.com/403error.html
ErrorDocument 404 http://www.yoursite.com/404error.html
in your .htaccess file but make sure they are on seperate lines or it wont work.

Well done! You have created your own custom error pages!



I hope this Helped! Please link back if so!
Tutorial © Michelle @ Candy-Delight.net

Vote?
Enter to Top Dolls Sites Topsites Ratings @ The Doll Palace and Vote for this Site!!!

Link Back
Cartoon Doll Button

Tagboard


Affiliates
Myspace Glitters Girls Games Build Dolls Dolls Bliss Girls Games Best Myspace Comments Free Myspace Layouts Girly Myspace Layouts New Myspace Layouts Fashion Myspace Layouts Doll Allure My Secret Dolls Dress Game Fun Want More?

Please Note

We do not permit copying, redistrebution, nor do we permit direct linking, unless you are given a code. If you are caught doing any of these acts we will be forced to report you to your website hosting company.

eXTReMe Tracker