• Resolved jordanvala

    (@jordanvala)


    I want to disable “anyone can register” so that /wp-login.php?action=register is disabled.

    Disabling registration form settings will disable the registration globally everywhere. Problem is that, users cant register through default registration form anymore.

    How to disable it only in /wp-login.php?action=register? But allow registration through form on site.

Viewing 1 replies (of 1 total)
  • Seems like you want to block registration from the usual registration page. You could change the .htaccess file by adding the following:

    Redirect 301 /wp-includes/wp-register.php /

    That will redirect visitors trying to get to the registration page back to the home page. This still allows the functions inside wp-register to work with your registration form on your site. Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable user registration in /user/register, but allow registration through form’ is closed to new replies.