wp_login_url always redirects me to wp-admin
this code on functions.php should work or using this code on a plugin or in a snippet. Just change the ‘yourpage’ to your respective page and the link on the wp_redirect function. add_action( ‘wp_head’, ‘custom_if_user_is_logged’ ); function custom_if_user_is_logged(){ if(is_page(‘yourpage’) && !is_user_logged_in()) { wp_redirect(‘https://your_website.net/wp-admin’); } } also when is a normal page from wordpress its possible … Read more