Echo Park

Posted
30 May 2010 @ 12am

No Comments Yet

Misc: Custom Error Page

This tutorial will help you make the error pages that you see on peoples sites!
This is what mine looks like.

Step 01.

Open the program you use to code your pages. Then copy the code under and paste it in.

ErrorDocument 404 http://www.yoursite.com/404.php

Change the part where it says www.yoursite.com to your website URL.

Step 02.

Save the page with this name: .htaccess and then FTP it to your main directory.

Step 03.

Now make a new page and edit it the way you want the error page to look like. Save it as 404.php and then use FTP to upload it to your main directory.

Step 04.

Your error page should now be finished. If you’re not using PHP, you can change the end of the first code from:

ErrorDocument 404 http://www.yoursite.com/404.php

to:

ErrorDocument 404 http://www.yoursite.com/404.html

And save the error page as 404.html.


Back to Home