Zen Cart Logo
Forums / Search Engines / How to stop Google from caching website?

How to stop Google from caching website?

Views: 102

Results 1 to 4 of 4
13 Nov 2012, 5:30 PM
#1
sjbglx avatar

sjbglx

New Zenner

Join Date:
Sep 2010
Posts:
70
Plugin Contributions:
0

How to stop Google from caching website?

hello, everyone,
I understand to keep google from caching website I need to add "<meta name="robots" content="noarchive" />"
but I am not sure which page I need to touch and how. Your advice is much appreciated!

Thank you in advance!

13 Nov 2012, 5:50 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to stop Google from caching website?

In a copy for your template the file is html_header.php

The core file which you make a copy of for your template is at includes/templates/template_default/common

21 Nov 2012, 1:58 AM
#3
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: How to stop Google from caching website?

Out of curiosity, what is the advantage or purpose of not having Google cache a site?

21 Nov 2012, 9:06 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: How to stop Google from caching website?

You should also have a robots.txt file in your root directory that contains the following:

User-agent: *
Disallow: /

(If you want to be more specific about what is allowed and disallowed, see http://www.robotstxt.org . Google also offers advice on how to construct a robots.txt file)