Last active
March 18, 2022 15:52
-
-
Save akroii/bb02f04940446dbbdb0af9ab6c778690 to your computer and use it in GitHub Desktop.
exclude seo bots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine On | |
| RewriteCond %{HTTP_USER_AGENT} AltaVista [OR] | |
| RewriteCond %{HTTP_USER_AGENT} Googlebot [OR] | |
| RewriteCond %{HTTP_USER_AGENT} msnbot [OR] | |
| RewriteCond %{HTTP_USER_AGENT} ^bingbot/.* [OR,NC] | |
| RewriteCond %{HTTP_USER_AGENT} Slurp | |
| RewriteRule ^.*$ "https\:\/\/sdfsdf.sdfsdfdsf\.rocks" [R=301,L] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RewriteCond %{HTTP_REFERER} ^https?://www.google.com [NC]
RewriteRule ^ http://www.google.com/ [L,R]