The users of ‘Better WP Security’ plugin should know that it changes the WordPress default login, logout and register URL to custom ones. If the WordPress site is installed with the referred security plugin and user registration is turned on, the registration process will be broken. It will simply load the page and will do nothing. Few search reveals the solution is to change the core wp-login.php page to alter the register URL and add the secured key generated by the ‘Better WP Security’. I didn’t agree with the solution as it leads to hack the core. So, I came up with the following solution that will work at theme level or with plugin level. Here’s how:
That’s all. This process is not hacking the core and will have no effect when WordPress is upgraded to it’s next stable version.
Please share your thoughts, queries and/or other possible ways to fix the issues through the comment.