Monday, 6 February 2012

Google Instant Pages for WordPress Website

In a previous post, I talked about how to implement Google Instant Pages on your Website, but that method does not work for WordPress websites.In this post, I will teach you how to use Google Instant Pages on a WordPress Blog or Website.

This is a simple WordPress Trick and requires only basic template knowledge.All you need to do is paste the following snippet of code just before </head> and you would have activated the Google Instant Pages on your WordPress Website.
<?php if (is_archive()) { ?>
<!-- Instant Pages for Google Chrome -->
 <link rel="prerender" href="<?php echo get_next_posts_page_link(); ?>">
<?php } ?> 
This of course will quicken the load time of the "Next Page" option on each of your WordPress pages, that is, if your are in Page 2, then Page 3 will be loading in the background for an easy fetch.
Gautham On Google+

Get free daily email updates!

Follow us!

Meet the Author

Gautham A S

Gautham A S is a personal tech columnist and blogging expert at TechGau.Org, one of the leading Tech, How-To and Blogging Tips blogs in the world..