Error Pages
The Purpose: We are going to create an "Error Page". This page will display if someone goes to a page on your site that doesn't exist. For example click here!
1. In the root/main files of your website, create a new file named: 404.shtml Be sure to make it .shtml, or it will not work.
2. Now, edit this new file however you would like. You can add an image or just plain text.
3. Next, after you saved the file, test it out! Go to: yoursite.com/404.shtml (Whatever you edited your file with before should be there) Now, to make sure it works, type an invalid URL. For example: yoursite.com/abcdefg (unless you have a page named that, your error page should show up!)
Other Error pages, you can create:
-400(Bad request)
-401(Authorization required)
-403(Forbidden)
-404(Wrong page) <--We just did this above^
-500(Internal server error)