Hello @dani7152 !
Thanks for the detailed report of this interesting case.
From what you describe, WP 2FA itself is working fine on the default WordPress login page, even after the login URL is changed by All In One Security. The problem only arises on the MemberPress login page, which suggests there might be a possible conflicting issue between MemberPress and the URL rewrite from AIOS, rather than WP 2FA alone.
A couple of things you could check to help narrow this down and help us determine if we made the right assumption here:
- Does the MemberPress login works again with WP 2FA if you disable the login URL change in AIOS correct?
- If AIOS is active but WP 2FA is disabled, does MemberPress login still work correctly with the custom login URL?
- Do you see any errors in the browser console or in the WordPress debug.log file when the redirect to
wp-login.php?action=validate_2fa happens?
- As a deeper test, could you temporarily disable AIOS and keep only WP 2FA + MemberPress active, then try again?
- Last but not least – have you consider trying another plugin that can be used to change the URL of the login page and test again? There are quite a few other plugins and methods to do so, and I would be very curious to see how this goes, as there’s a chance that AIOS alone to be causing this.
Looking forward to your update once you’ve had a chance to test/try these.
Many thanks!
Hey @lucianwpwhite
After testing further, it turns out that AIOS was indeed the source of the problem. Disabling the login URL change in AIOS resolved the issue, and when I switched to using another plugin to handle the login URL change, everything worked correctly with WP 2FA and MemberPress together.
Thank you!
Best regards,
Dani
I am very happy you sorted this one out @dani7152 ! Thanks for letting me know!
If you would like to spare a minute for us, for a quick favor, drop us a review here on the forums, based on your experience with our support and plugin overall. These reviews only take a few moments to post but are really helpful!
Have a great weekend ahead and thank you!