If you want google's cache of your site to remain unchanged is it a good idea to add noarchive to robots.txt? Or will this wipe out your caches?

link|improve this question
feedback

migrated from serverfault.com Dec 18 '11 at 19:27

This question came from our site for system administrators and desktop support professionals.

1 Answer

up vote 2 down vote accepted

Firstly, there is no such thing as noarchive in robots.txt. You need to add a meta tag to all pages on which you wish to prevent caching:

<meta name="Googlebot" content="noarchive">

When you have done that, then Google will stop caching the page entirely and won't show a cache link at all. There is no way to keep showing the old cache while preventing new caches.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.