0

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 :
http://localhost/smsfhotproperty/complete-order/?pcode=890&pname=city-of-london-luxury-2-bedroom&step=1

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.

Thanks!!

0

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.