This is the tutorial for making custom 403 error pages for your site. You can make funny, unique 403 error pages and use them instead of relying on the default boring error documents. Click here to see Bouncy Bubbles.Net's current 403 error page. 403 error page appears when someone tries to acces a file or folder which should not viewed by anyone in their browser for example, image files, contents of a folder with no index.html file in it or a page which is password protected.
First make a layout/page that you want to use as the 403 error page. Save it as 403.html. Upload this file to your server. Open notepad and type this : ErrorDocument 403 http://www.yoursite.com/403.html If you already have a .htaccess file, just add the above line on top of everything in that file and save it. Change the "yoursite.com" to your domain name. Save this file as .htaccess and upload it to the root directory of your site via FTP. Go to http://yoursite.com/403.html and see how it looks :) Note: Questions regarding this tutorial should be asked here. « Back





