MyBB Community Forums

Full Version: Blocking bad bots with .htacess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Blocking bad bots with .htacess

I'm no expert.
I have more doubts than certainties.
This is not a mantra.


Sry for my english
  • Download this htaccess.txt and rename to .htaccess or
  • Add this code to your .htacess ( add NOT replace )

  • Reupload your .htaccess to your main folder.

  • Change your .htacess permission to 444


[attachment=30333]
Add a file in your root directory (normally public_html), where all of your MyBB files are and name it .htaccess.
That is
.htaccess
the period is only after it in the first line of this post due to punctuation.
Copy and paste the contents of that website into the .htaccess. If you use a plugin like Google SEO, you iwll already have a .htaccess. Please note that Apache does not pick up on .htaccess.txt, only .htaccess. If you already have a .htaccess, please paste the contents of it here and further instructions will be provided.
Where did you get this list of user agents and ip ranges?
(2013-10-16, 10:30 PM)laie_techie Wrote: [ -> ]Where did you get this list of user agents and ip ranges?
http://community.mybb.com/attachment.php?aid=30333
"hackrepair.com"
http://hackrepair.com
Updated .htaccess with correct parameters.
thanks alot Big Grin
Thanks alot. This is what I needed.