You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add setting to allow access to registration page for non-logged-in users #375
Is your enhancement related to a problem? Please describe.
Currently, when Restricted Site Access is enabled, all front-end pages including the user registration page are restricted based on the plugin’s access rules. This prevents new users from registering when the site is under restriction.
To improve flexibility, introduce a new setting (default: disabled) that allows administrators to permit access to the registration page (/wp-login.php?action=register or a custom registration URL) for any user who is not logged in.
On single site the registration page isn't restricted — RSA only hooks parse_request and wp-login.php never runs it; I registered a user on a fully restricted site to confirm.
On multisite, wp-login.php?action=register redirects to wp-signup.php, which requires wp-blog-header.php before its is_multisite() bail, so parse_request fires and RSA blocks it there.
That narrows the setting to unblocking wp-signup.php; matching wp_signup_location rather than a literal path would keep it correct if signup is relocated.
Activity
sanketio commentedon Aug 26, 2026
On single site the registration page isn't restricted — RSA only hooks
parse_requestandwp-login.phpnever runs it; I registered a user on a fully restricted site to confirm.On multisite,
wp-login.php?action=registerredirects towp-signup.php, which requireswp-blog-header.phpbefore itsis_multisite()bail, soparse_requestfires and RSA blocks it there.That narrows the setting to unblocking
wp-signup.php; matchingwp_signup_locationrather than a literal path would keep it correct if signup is relocated.