Skip to content

Instantly share code, notes, and snippets.

@everfluxx
Forked from weppos/gist:241979
Created November 24, 2009 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everfluxx/242046 to your computer and use it in GitHub Desktop.
Save everfluxx/242046 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} .
RewriteRule .* - [env=send_x_robot:true]
Header set X-Robots-Tag "noindex" env=send_x_robot
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment