redirect on login error
-
hi!
i use
php wp_login_form()
to display a login form in my theme and set the redirect value to$_SERVER['REQUEST_URI']
. redirection works fine when the user types in the correct data, but on login errors i get stuck on the default login form.so, anyone knows a way to redirect to the last page even on login errors?
i would appreciate any help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘redirect on login error’ is closed to new replies.