Very simple and convenient
-
Bots started registering on the site via /wp-login.php?action=register this page is not protected by google captcha
I added to the .htaccess file:
IfModule mod_rewrite.c
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/wp-login.php$ [OR]
RewriteCond %{QUERY_STRING} ^action=register$
RewriteRule ^(.*)$ / [R=301,L]
IfModuleAnd the problem is solved!!!!
- You must be logged in to reply to this review.