I am sorry if the solution for that is already in some place, but I searched for that everywhere and all I found was outdated.
Is there a way to make the user to be redirected to the page he was before login? How?
You can do it with little programming. All you need to do is to pass the current page URL to redirect_to variable and append it on login page url.
Hope it helps
I understand the concept, but where exactly do I pass the current page URL to the redirect_to variable? On pie-register.php? Or on wp-login.php?
Thanks for the help!
Both login pages will accept and process with redirect_to variable.
So whatever you are using just append the URL with parameter in your page
You must be logged in to reply to this topic.