How to Block Google Preview?
-
Hi,
Our site is very good for Javascript-On users, however many pages are loaded via AJAX and are inaccessible with JS-off. I'm looking to make this content available with JS-off so Search Engines can access them, however we don't have the Dev time to make them 'pretty' for JS-off users.
The idea is to make them accessible with JS-off, but when requested by a user with JS-on the user is forwarded to the 'pretty' AJAX version. The content (text, images, links, videos etc) is exactly the same but it's an enormous amount of effort to make the JS-off version 'pretty' and I can't justify the development time to do this.
The problem is that Googlebot will index this page and show a preview of the ugly JS-off page in the preview on their results - which isn't good for the brand. Is there a way or meta code that can be used to stop the preview but still have it cached?
My current options are to use the meta noarchive or "Cache-Control" content="no-cache" to ask Google to stop caching the page completely, but wanted to know if there was a better way of doing this?
Any ideas guys and girls?
Thanks
FashionLux
-
You can turn off snippets by using the following code:
HOWEVER, this will also prevent text snippets from being shown for your search results, so probably not what you want.
The best thing to do would be to go into your analytics and determine how many pageviews Google Instant Preview is generating. If it's a significant amount, and you feel it's impacting CTR, then spend the effort to create a pretty Javascript-free version. Otherwise, ignore it (less that 5% of our visitors use Instant Preview, for example).
Here's Google's answer on the webmaster forums:
https://sites.google.com/site/webmasterhelpforum/en/faq-instant-previews#11