Viewing 1 replies (of 1 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Yes, add the following code to your functions.php file to change your site’s login URL to point to your custom login page:

    function my_login_page( $login_url, $redirect ) {
        return site_url( '/my-login-page/?redirect_to=' . $redirect );
    }
    add_filter( 'login_url', 'my_login_page', 10, 2 );
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Login URL’ is closed to new replies.