Support Forum

Redirect to forum after password reset

KW kwbridge
kwbridge
Member

Now that passwords aren’t sent via email in WordPress 4.3 the user uses the url in the email to reset their password.  After resetting the password they are taken to their profile page in the WordPress admin rather than to the forum, which is how it set up on login.

Is there any way to redirect the user to the forum after resetting their password.  I’m concerned that new users will be confused by resetting the password and then be taken to the WP profile page.

10 Answers

New Answer

IK Ike
Ike
Member

Hey kwbridge,

Since Simple Press doesn’t have unique users, everything regarding user control such as registration, passwords etc.. is done by WordPress, so outside Simple Press this is really down to how you want it to work. If WP takes a user to their profile page after a password reset then maybe take a look at a WP membership plugin which will give you more control, and should allow you to set up a page (such as the forum page) to be taken to after a password reset.

Hope that helps..

YS Yellow Swordfish
Yellow Swordfish
Member

Does the redirect on the forum login not work with this? (Components > Login and Registration). Have the WP team really messed things up that much!

KW kwbridge
kwbridge
Member

Well, there is no longer a password in the welcome email so the email contains a link to reset the password.  After the password is reset, they aren’t redirected to the forum like with a regular login.  It seems the reset works differently.  It’s possible that I’m missing something but I tested this a bunch of times and that is the behavior that kept happening.  I’m looking at a function now that may work to redirect after a password reset.

YS Yellow Swordfish
Yellow Swordfish
Member

This really is most annoying, We – along with several other plugins – have already had to out out one quick update due to the changes to passwords not being documented in fine detail and communicated with plugin authors. Sounds like you may have found yet something else.

What you are seeing is, of course, totally standard and usual WordPress behaviour. Which, of course, an awful lot of users do not like which is why we – and many other plugins – help overcome it.

I will take a look more closely this evening and open a dev ticket on it.

KW kwbridge
kwbridge
Member

Thanks.  Actually, I thought it was only an issue on the initial password reset.  If, however, I don’t login via the link on the forum page I am taken to the WP profile page.  For example, http://example.com/wp-admin or http://site.com/wp-login both take me to the profile. I thought it was only happening on the reset but I seem to have been wrong. 

I double checked my settings and it is set to redirect to the forum page for login/registration redirects.

Thanks for the quick responses.

IK Ike
Ike
Member

Sorry, I missed the point there in my reply! Was on auto-pilot.

KW kwbridge
kwbridge
Member

Has there been any update on this?  We really don’t want to have new users directed to the profile page.  We have added an admin message in the backend that links to the forum but that is really a temporary solution.

YS Yellow Swordfish
Yellow Swordfish
Member

We have an open ticket to get it looked at.

Meanwhile why not just enable the ‘block admin’ feature (Options > Global Settings) which will ensure users are unable to load any admin views – including the WP default profile page?

KW kwbridge
kwbridge
Member

Thanks!  I didn’t think of doing that and it works great.