Redirect user to original url after login?
You can do that easily. You just need to specify a redirection parameter. If you are using a login link on the homepage to go to the login page, then @sisir’s solution is correct. <?php echo wp_login_url( $_SERVER[“HTTP_HOST”] . $_SERVER[“REQUEST_URI”] ); ?> If you are using a custom form on the frontpage, then inside the … Read more