Advertisement
Guest User

Untitled

a guest
Mar 6th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. # BEGIN WordPress
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteRule ^index\.php$ - [L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /index.php [L]
  9. </IfModule>
  10.  
  11. # END WordPress
  12.  
  13. SetEnvIfNoCase User-Agent "^Bandit" bad_bot
  14. SetEnvIfNoCase User-Agent "^Baiduspider" bad_bot
  15. SetEnvIfNoCase User-Agent "^BatchFTP" bad_bot
  16. SetEnvIfNoCase User-Agent "^Bigfoot" bad_bot
  17. SetEnvIfNoCase User-Agent "^Black.Hole" bad_bot
  18. SetEnvIfNoCase User-Agent "^bingbot/2.0" bad_bot
  19. SetEnvIfNoCase User-Agent "^ezooms/1.0" bad_bot
  20. SetEnvIfNoCase User-Agent "^Ezooms/1.0" bad_bot
  21. SetEnvIfNoCase User-Agent "^Mail.RU_Bot/2.0" bad_bot
  22. SetEnvIfNoCase User-Agent "^MJ12bot" bad_bot
  23. SetEnvIfNoCase User-Agent "^MJ12bot/v1.4.3" bad_bot
  24. SetEnvIfNoCase User-Agent "^Sosospider" bad_bot
  25. SetEnvIfNoCase User-Agent "^Sosospider/2.0" bad_bot
  26. SetEnvIfNoCase User-Agent "^YandexBot" bad_bot
  27. SetEnvIfNoCase User-Agent "^Yandex/1\.01\.001" bad_bot
  28. SetEnvIfNoCase User-Agent "^YandexBot/3\.0" bad_bot
  29. SetEnvIfNoCase User-Agent "^YandexBot/3.0" bad_bot
  30. SetEnvIfNoCase User-Agent "^MSNBot" bad_bot
  31. SetEnvIfNoCase User-Agent "^bingbot" bad_bot
  32. SetEnvIfNoCase User-Agent "^bingbot/2.0" bad_bot
  33.  
  34. Order Allow,Deny
  35. Allow from All
  36. Deny from env=bad_bot
  37.  
  38. RewriteCond %{HTTP_REFERER} !lapan\.com.ba [NC]
  39. RewriteRule \.(jpe?g|png|gif)$ - [NC,F,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement