Google widget to your custom 404 page
No Comment | Posted in Tips & Tricks
Google now offer a widget for customized 404 pages.
The code is below
<script type="text/javascript">
var GOOG_FIXURL_LANG = 'en';
var GOOG_FIXURL_SITE = 'http://mobizong.com/';
</script>
<script type="text/javascript"
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
Here in this code you can replace mobizong.com with your own site url.
The output of this script is like.
Example
If a user types in the incorrect url http://www.example.com/news/recentz we’ll display the following:
|
Example.com
Sorry, but the page you are trying to view does not exist.
|
|
| 404 widget |
Leave a Reply
585 views, 3 so far
today

