Redirect to $_SERVER[“REQUEST_URI”]
-
When a user clicks a link that requires a login to view, the redirect to the login page works fine. However, the user is always returned to the home page after login (as specified in the settings for this plugin). I need to be able to redirect them to the original page they were trying to access when they were redirected to the login page. Something like $_SERVER[“REQUEST_URI”]. How can I do this?
- The topic ‘Redirect to $_SERVER[“REQUEST_URI”]’ is closed to new replies.