Title: Block Google from pages
Last modified: August 18, 2016

---

# Block Google from pages

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/)
 * Okay, so it’s all SE’s…..
 * Is it possible to block bots from wp pages individually ?
    Could that be done
   with .robots.txt ? .htaccess ? rewrite rules ?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [xerocool](https://wordpress.org/support/users/xerocool/)
 * (@xerocool)
 * [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/#post-207849)
 * Podz: robots.txt.
 * You can put something like this in robots.txt:
 * User-agent: googlebot
    Disallow: /mypornfiles
 * googlebot will not index /mypornfiles If you add that to robots.txt. 🙂
    To block
   all bots (Not just google), Make the user agent this:
 * User-agent: *
 * That’s all. robots.txt goes inside the root folder, and that’s it. For multiple
   files, Just keep adding the disallow code (ex:
 * `
    User-agent: * Disallow: /cgi-bin/ Disallow: /images/ Disallow: /themes/ Disallow:/
   admin/ Disallow: /staff/ Disallow: /static/ Disallow: /downloads/
 *  [angsuman](https://wordpress.org/support/users/angsuman/)
 * (@angsuman)
 * [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/#post-207852)
 * Yes.
    [How to prevent robots (Google Bot, MSNBot, Yahoo Slurp! etc.) from displaying cached pages of your site](http://blog.taragana.com/index.php/archive/how-to-prevent-robots-google-bot-msnbot-yahoo-slurp-etc-from-displaying-cached-pages-of-your-site/)
 * You can insert the following meta tag using meta tag plugin:
    <META NAME=”ROBOTS”
   CONTENT=”NOARCHIVE NOINDEX”>
 *  [jinsan](https://wordpress.org/support/users/jinsan/)
 * (@jinsan)
 * [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/#post-207875)
 * podz vs google – brought to you by Warner Bros 🙂
 *  Thread Starter [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/#post-207880)
 * LOL !
 * Xerocool – freudian slip there maybe ?
 * Cheers though – I shall use the info 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Block Google from pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/block-google-from-pages/#post-207880)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
