My site is attacking by bots and I want to block them.
[01/Jun/2016:11:02:56 +0200] "GET /index.php?option=com_user&view=register HTTP/1.1" 301 804
i was trying
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteCond %{QUERY_STRING} index.php?option=com [NC]
RewriteRule ^(.*)$ - [F,L]
</IfModule>
but its not working, where is the problem?