When using the ‘login' link at the bottom of a page saying ‘login to make a comment' wordpress adds the redirect code to the end of the URL (ie: ?redirect_to=http%3A%2F%2F220.127.116.11%2F~sportzgi%2Fhotel-guests-admit-to-stealing-items-from-rooms%2F) but then when you click on the ‘register' link, this is lost and hence after creating a new account the visitor is not returned to the post which they wanted to comment on. Please advise as to how I can ensure the redirection stays intact.
Please navigate to user fronted-> Registration form->open your form->Settings->redirect to. Now you can set the redirect location after registration. You can set this as redirect to a page or custom URL. If you want user to redirect them to the post then you can set this as redirect to page then you have to select that post page. Also you can set your custom URL to redirect. Please check and let me know.
I am aware of these settings in the plugin, but I don't believe they allow me to do what I want. I want the system to be able to link back to the specific post that the visitor was looking at when they decided to comment > register for the site… so it needs to be dynamic. Does that make sense? WordPress does this to the ‘login' page ie the first step of the way, but then when you click on ‘register' it loses the redirect code on the end of the URL. That is what I want to keep so that the visitor can complete registration and then go back to that post. Also can they be logged in after registering?