Empty user-agent
-
I see you took out empty user-agents by default some time back. How do I add an empty user-agent block? What the heck goes in there? I’ve looked all over doing Google searches and only find .htaccess lines but I don’t understand what part of it is the empty user-agent. Here is an .htaccess I found but did not know how to add it to my existing .htaccess. Brought my whole site down. We’re not all coders here.
RewriteEngine on
# BEGIN block access for empty user agents – 403 error
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule ^(.*)$ – [F,L]
# END block access for empty user agentsWhen I’m in the iThemes ban user-agent what part of the lines above will block empty or blank user-agents?
Thanks.
- The topic ‘Empty user-agent’ is closed to new replies.