stop Bots registration On WordPress

How to stop SPAM Users and Bots registration On WordPress

How to stop SPAM Users and Bots registration On WordPress Website. Using a custom sign-up plugin on user registration and encountering spam signup on the native WordPress signup page via htaccess? In this guide, we’ll help you stop spam signups on your website using .htaccess rules.

Procedure to stop SPAM Users and Bots registration On WordPress Website

– Login to FTP/File Manager.
– Edit the .htaccess files and add the following code to them.

 #BLOCK SPAM REGISTRATION REQUESTS (wp-login.php?action=register)

RewriteEngine On
RewriteCond %{THE_REQUEST} ^.*(wp-login.php\?action=register).* [NC]
RewriteRule ^(.*)$ - [F,L]

After adding the above .htaccess rules if a BOT or user opens /the wp-login.php page for registration they will get an access denied error and cannot register. Buy WordPress Hosting from Oudel Inc. Learn how to secure a WordPress Website.

Scroll to Top