Failed login - /wp-login.php

I have a login form (not using S2M), when there is a failed login attempt normally it stays on the page I have the form on, I have this done on purpose because I am NOT using wp-login.php. My /wp-login.php is being hidden on purpose.

BUT, S2M sends a user to my hidden wp-login.php on failed login.
I need to know where the setting is to change this OR where in code I can make this not happen please.

Hi Grant.

This is not a redirection done by s2Member. The s2 login form is just that, a form, submitted to wp-login for processing. The processing for that login, is WordPress’. The redirection from that failed login, is done by WordPress, not s2Member. And there isn’t an option for “failed login redirection” to set a different URL.

I hope that helps understand the behavior you’re seeing. :slight_smile:

Yep, does help. I have since found the correct functions to use in functions.php. Thanks for direction.

1 Like