SMF Support > SMF 2.0.x Support

Blocking Baidu

<< < (2/2)

Storman™:
Lets get tough.......  try:


--- Code: ---Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Baiduspider [NC,OR]
RewriteRule ^.* - [F,L]
--- End code ---

Add that to the END of your .htaccess file.

Note: If you get 500 Server error then remove the first line (Options +FollowSymlinks)

movierchives:
That keeps 403ing whether Options +FollowSymlink is added or not :(

busterone:
Do you have any mods such as pretty urls or any other SEO type mod installed?

K@:
If you search through the support boards, this has been covered a number of times.

http://www.simplemachines.org/community/index.php?action=search2;search=baidu

Not really much point in going over them all, again, eh? ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version