主要作用:在网页出错时尽可能留住访问者。
When a user clicks on a link to a page that’s no longer available on your site, your server returns a 404 (Page Not Found) error. Because generic messages can be frustrating to the user, we recommend creating a custom 404 page to provide more useful information about your site.
Here are some suggestions for creating an effective 404 page that can help keep visitors on your site and help them find the information they’re looking for:
- Tell visitors clearly that the page they’re looking for can’t be found. Use language that is friendly and inviting.
- Make sure your 404 page uses the same look and feel (including navigation) as the rest of your site.
- Consider adding links to your most popular articles or posts, as well as a link to your site’s home page.
- Think about providing a way for users to report a broken link.
- No matter how beautiful and useful your custom 404 page, you probably don’t want it to appear in Google search results. In order to prevent 404 pages from being indexed by Google and other search engines, make sure that your webserver returns an actual 404 HTTP status code when a missing page is requested.
作者:yaozer 原文链接:404出错页面的作用和建议
欢迎转载, 非常感谢你能注明作者和原始出处。
建议wordpress模版换一个很cool的如何:)
blackmaster 很酷,正在考虑换。