Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How would I add this to my website?
On most sites, when you try to navigate to a missing page, you are sent to a page that tells you. How would I add that to my site?
5 Answers
- Anonymous1 decade agoFavorite Answer
The following tutorial should help you:
- 1 decade ago
You need to create a custom 404 page to accomplish this. 404 is the standard error code for "Page not Found".
Create a page called 404.shtml and code it how you want it. This will now appear if someone mistypes a URL to your website, or clicks an invalid link pointing to your server.
Good luck :)
- 1 decade ago
In order to create a custom error message, you will need to first create a .htaccess file. In this file, you will need to indicate the type of error (403, 404, etc) and in which directory the error message page can be found in. After you have created the .htaccess file, it is required that you upload it to the root directory of your website.
An example of what needs to be in the .htacess file:
ErrorDocument 403 /dir/forbid.html
ErrorDocument 404 /dir/notfound.html
After creating the .htaccess file, you would need to create the error message page or pages, depending on how many errors you have declare in the .htaccess file. In my example I have declared two, which is the 403 forbidden and the 404 not found errors. The file names in my example are forbid.html and notfound.html.
- LayneLv 61 decade ago
Oh man, I know. I've seen how to do this. Its called a '404 error page,' I believe.
Ok, I searched Yahoo! and found this;
http://www.devppl.com/tutorial/9646/
It's a tutorial on how to make your own. Looks prety good to me.
Try it, see if it works.
If that one doesn't work, try this one;
http://www.webmonkey.com/tutorial/Create_Custom_40...
If, they don't work, jsut search Google or Yahoo! for 'Custom 404 Error Pages.'
- How do you think about the answers? You can sign in to vote the answer.