In my testing server I want the user to login when he is on a specific page and redirect back to the same page after login.

Here is the url the user is on :

On this page I am having a basic wordpress login-form and I want the user to be redirected back to the same url after login.

Is this even possible. .. using this plugin or any other plugin .. ??

Any help will be appreciated.



Simply use wp_login_form() function in your page. The login form will be generated with current URL as "after login redirect" parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.