Custom 404 Page
Do you wonder how people create their own custom 404 pages on their websites? Well then you’ve come to the right page to help you solve this mystery.
It’s simple, really. Just follow the steps below!
Step 1.
Create a text document and call it “.htaccess.txt” — with the “.” included before htaccess.
Step 2.
Open up the text document and add this code:
ErrorDocument 404 /PATH TO YOUR 404 FILE.php
Step 3.
Replace “/PATH TO YOUR 404 FILE.php” with whatever your custom page url is. (For example: “/error.php” or “/files/error.html”) Make sure that you leave out the “http://” or any other leading information. Save the text document.
Step 4.
Upload the text document to your server. Once it’s there, rename it “.htaccess” by simply removing the “.txt” from its filename.
And that’s it!! Enjoy your custom 404 page. :]
Note: Freely hosted servers (such as geocities, freewebs, etc) may not let you upload .htaccess.


























