Title: Blocking: /wp-login.php?action=register
Last modified: September 1, 2016

---

# Blocking: /wp-login.php?action=register

 *  [timb9](https://wordpress.org/support/users/timb9/)
 * (@timb9)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blocking-wp-loginphpactionregister/)
 * My site doesn’t allow registration of visitors.
    Only Admin accesses the site.
   The site is getting hit constantly with: **/wp-login.php?action=register** hits.
   Is there a way to block these hits before they ever see the login screen? What
   about adding this URL to the: **Immediately block IP’s that access these URLs**
   list? Thanks Tim
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 1 replies (of 1 total)

 *  [mountainguy2](https://wordpress.org/support/users/mountainguy2/)
 * (@mountainguy2)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/blocking-wp-loginphpactionregister/#post-7605463)
 * If you install WPS Hide Login plugin and create a custom login URL, you can then
   add /wp-login.php to the “immediately block” list in Options. Works like a charm
   and makes an interesting honey trap, if not a bit disconcerting to see how much
   you get attacked with login attempts.
 * Not sure if this would need to be /wp-logn.php in the list, or something like/
   wp-login.php* you could try both
 * MTN

Viewing 1 replies (of 1 total)

The topic ‘Blocking: /wp-login.php?action=register’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mountainguy2](https://wordpress.org/support/users/mountainguy2/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/blocking-wp-loginphpactionregister/#post-7605463)
 * Status: not resolved