Reply To: Replace the WP login/registration page
› Forums › General › Replace the WP login/registration page › Reply To: Replace the WP login/registration page
2016-01-09 at 00:17
#575
Keymaster
Yes, that’s what I meant. That was just an example to show how to achieve the redirection, but then you’d need to customize it to change the URL dynamically.
You could probably use the $_SERVER variable to get the address of the page he’s on. http://php.net/reserved.variables.server