Custom login page
-
I am using the following tutorial to replace the login page: https://code.tutsplus.com/tutorials/build-a-custom-wordpress-user-flow-part-1-replace-the-login-page–cms-23627
I already put in the functions the code that changes the link of the login page:
function my_login_page( $login_url, $redirect ) { return site_url( '/login/?redirect_to=' . $redirect ); } add_filter( 'login_url', 'my_login_page', 10, 2 );
When I click Sign in, it redirects to the login page
Again, and is not logged in.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom login page’ is closed to new replies.