WordPress.org

Ready to get started?Download WordPress

Forums

WP and Meta Tags (10 posts)

  1. Missychele
    Member
    Posted 9 years ago #

    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:
    <META NAME="ROBOTS" CONTENT="NOARCHIVE">
    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.

  2. Kafkaesqui

    Posted 9 years ago #

    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.

  3. NuclearMoose
    Member
    Posted 9 years ago #

    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).

  4. Missychele
    Member
    Posted 9 years ago #

    Thank you guys so so much;-)

  5. Missychele
    Member
    Posted 9 years ago #

    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.

  6. Tahongawaka
    Member
    Posted 9 years ago #

    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.

  7. Missychele
    Member
    Posted 9 years ago #

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

  8. Missychele
    Member
    Posted 9 years ago #

    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?

  9. Kafkaesqui

    Posted 9 years ago #

    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>).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.