Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blocking bad bots with .htacess
#1
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]


Attached Files
.txt   .htaccess.txt (Size: 21.25 KB / Downloads: 351)
[Image: 468x60_bf4brasil_site_zpsd7eefd7f.png]
#2
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.
#3
Where did you get this list of user agents and ip ranges?
#4
(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
#5
Updated .htaccess with correct parameters.
[Image: 468x60_bf4brasil_site_zpsd7eefd7f.png]
#6
thanks alot Big Grin
#7
Thanks alot. This is what I needed.


Forum Jump:


Users browsing this thread: 2 Guest(s)