Support Forum

Is there a way to have the login/logout not redirect?

CK Christina Kennedy
Christina Kennedy
Member

In the Login & Registration Component, what would I put for the login & logout redirects if I just want them to stay on the page they’re on when they login or logout?  

I’m using a membership plugin as well, and it also has login/logout redirects, but it has a checkbox “Redirect after login?” and “Redirect after logout?” which I have left unchecked so if they login using the login widget on the front page, it will leave them on the front page.  If they go to a page or content that has “you must login to view this,” and they login, it will keep them on the the page or content they were trying to view.  But the Simple Press Login/Logout Redirect is overriding that.  I tried just leaving them blank, but that sends them to weird places.

1 Answer

New Answer

MP Mr Papa
Mr Papa
Member

if you leave our login and logout redirects empty, we will not force and redirection… and we will stay on the same page you were.. but keep in mind, that by default, wp may do redirection on both… so those may need to be overridden…