Support » How-To and Troubleshooting » WP and Meta Tags

WP and Meta Tags

  • I have a real problem with my site being cached, simply because I posted something that was a big mistake. I realized my mistake and pulled the post. However, it’s still cached on Yahoo. Their suggestion to keep your site from being cached is to use tags such as these:
    Is it possible for me to use these somewhere in WP to keep my blog from being cached? It’s really important that I get that cached portion of my site off of there.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Insert the tag somewhere in the <head> portion of your index page template.

    Yahoo is notoriously slow about things like this, so it may take a while before you notice they’ve stopped indexing your site.

    All you have to do is put that line somewhere between the <head> </head> of your page.

    In 1.2.x it’s in index.php and in 1.5 it’s in header.php (assuming the default template is being used).

    Thank you guys so so much;-)

    There doesn’t appear to be a beginning head tag and it’s not validating now. Should I just through in a head tag or what? I just know a thing about php.

    Instead of altering WordPress, you may want to consider a robots.txt [search google] file in your root directory. It’s easy enough to stick in, and you don’t have to worry about making sure your META tag gets copied correctly each time you try another theme.

    I currently have a robots.txt file uploaded. How would I alter it to include the no archiving bit?

    Moderator James Huff


    So are you saying that essentially I have to disallow them from my site in order to keep my site from being cached? I don’t want to necessarily keep them from crawling my site, just from archiving?

    RE: No <head>

    Looking at your blog I see a <head> section (what you find before <body>), however you don’t have an opening <head> tag, only the closing one (</head>).

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP and Meta Tags’ is closed to new replies.