Users trying to login get 400 Bad Request

When my users register on a page (using a stripe pro-form) and then tries to log using the widget login they get a ‘400 Bad Request’ page the URL that displays is https://domain/%%previous%%

How can I stop this from happening?
Thank you

Hi Brian.

Can I see a screenshot of your widget’s options panel?

:slight_smile:

Cristián, Thanks for the quick reply, I think I got to the bottom of the issue.

But sometimes my users get this message when logging out instead of being logged out directly.

Any way of avoiding this message?
Thank you

I think that’s a WP behavior, I’ve had it when logging out without the widget also. The widget just uses the WP session login and logout routines.

You could try setting a logout redirection, maybe that changes that confirmation message you get. http://web.archive.org/web/20161130231447/http://s2member.com/kb-article/pro-login-widget

I hope that helps :slight_smile:

This original problem is still an issue is still a problem especially now the site is live. A lot of users (mostly new) have reported issues of seeing a 400 page upon signup.

When my users register on a page (using a stripe pro-form) and then tries to log using the widget login they get a ‘400 Bad Request’ page the URL that displays is https://domain/%%previous%%

How can I stop this from happening?
Thank you

Please can you suggest a solution.

Thank you

Hi Brian.

Could you show me the s2Member-Login shortcode you’re using, or the widget’s panel with its settings?

%%previous%% is a replacement code for the login redirection, so after login the person gets taken to the page where he logged in from. That should not remain as %%previous%% in the URL, but replaced with the correct address. Why that isn’t happening on your site, I’m not sure, but I’d suspect some plugin may be conflicting.

If you deactivate other plugins, can you reproduce that behavior?