Redirect login failure to another page
-
Hello again, my favorite community.
Here’s my trouble:
I can’t remember where I picked up the code just now, but I’ve got a sidebar login box across all pages, and the form action points to wp-login.php. Not surprisingly, when a user’s login is successful, the page is refreshed and they’re logged in. When it fails, they’re sent to wp-login.php with the appropriate error.
However, I’d really like to redirect a failed login to a different page instead of wp-login. I’m using Muhammad Haris’ Login/Registration templates to streamline the look of my site, and the failed login redirect is the last remaining frontier. I was hoping to avoid modifying the core, but I’m willing to if it can’t be avoided.
I poked around in the forum search and couldn’t find anything on this issue, so I’d vastly appreciate any help. Thank you!
- The topic ‘Redirect login failure to another page’ is closed to new replies.