I saw a suspicious bot in the logs, and remember what was mentioned here the other day about blocking people (bots) from accessing the site. So I Googled it. I came across this solution for htaccess:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^scraper1 [OR]
RewriteCond %{HTTP_USER_AGENT} ^scraper2
RewriteRule ^.* - [F,L]
I have uploaded it, checked the site, "fetched as googlebot" in webmaster tools, and all appears OK.
So, what does it do?
Is is saying to redirect anything.anything to -
meaning, nowhere? like http://-
or is it doing something else?
Any suggestions for what to put in? I have a list, but may not be perfect, up to date. Shall I post what I am (hopefully) blocking here?






