Customizing 404 Page
A 404 page is what a user sees when they try to reach a non-existent page on your site because they’ve clicked on a broken link, the page has been deleted, or they’ve mistyped a URL.You can add the Webmaster Tools 404 widget to your custom 404 page. The 404 widget automatically provides users with helpful suggestions instead of error messages:
- It adds a search box for your site with appropriate search suggestions.
- It tries to provide alternatives to incorrect URLs.
This makes it easier for users to find the information they need and makes it less likely that they’ll leave your site to look elsewhere.
To add the widget to your custom 404 page, copy the code below and paste it into your page between the <body> and </body> tags. Be sure to replace the URL http://www.example.com with the URL of your own site.
<script type="text/javascript"> var GOOG_FIXURL_LANG = 'en'; var GOOG_FIXURL_SITE = 'http://www.example.com' </script> <script type="text/javascript" src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"> </script>
Need Help? feel free to ask questions via comment!
If you liked this post, Subscribe to RSS Feeds or Follow us on Twitter




