Replace WP native login URLs

The default WordPress login URL is www.example.com/wp-login.php. By using the code snippet below, you will be able to change the default WordPress login URL to UM Login page URL www.example.com/login/

The login_url filter hook will override and change the WordPress login URL, redirecting to UM login Page URL.

Note: You can add the code snippet to your theme’s functions.php file or use the Code Snippets plugin.

Warning: We have created this code example to guide and make it easier for you to implement it into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.