Hi @ouka1102
Thank you for using Paid Memberships Pro.
We use query parameters to swap the login page form to the relevant page for forgot password or password reset.
You mentioned that you don’t receive the email, please can you install a mail logging plugin to track what emails are sent from your site. This may help us determine if there are errors with your emails in general or specifically for Paid Memberships Pro emails.
You may also enable WordPress debugging by following this guide and recreate the issue you are facing, this may help us determine if there are any fatal errors on your site.
Thread Starter
Kaccho
(@ouka1102)
Hi,
Thank you very much for your kind reply.
I was able to receive an email for password reset, but still can not complete the operation.
—
Starting from a page that contains [pmpro_login].
domain/login/
domain/login/?action=reset_pass
domain/login/?checkemail=confirm
I was able to receive an email. It attached a link to reset password.
domain/account/?action=rp&key=Mvry6EP562kXgMbxw9lB&login=katsufumi
After clicking the link and specifying a new password, it returns “The password reset key is invalid”.
I think the directory “account” instead of “login” causes this problem.
Do you think the problem can be solved If I can edit password reset email template to make reset password like contain “login” directory?
I have found a similar topic in this forum but it doesn’t look like the problem is solved either.
Hopefully I can find a solution to it.
Best wishes,
That sounds like the issue, can you tell me what page URL you have set to the Paid Memberships Pro Log In page?
Is it set to your /login/ page or the /account/ page?
Thread Starter
Kaccho
(@ouka1102)
Thank you for your reply.
Dashboard > Membership > Settings > Pages > Login Page
This is set to /login/.
This code snippet may help, it bypasses the redirect for the wp-login password reset URL and stops the emails from being rewritten – https://gist.github.com/andrewlimaza/aa319e2f8ea8bff3c2b51da330bd84f1
The URL generated should be yoursite.com/login and not /account – I’m not sure if you’re using a multi-language plugin that may also be interfering with this.
Thread Starter
Kaccho
(@ouka1102)
Thank you for your message.
The pmpro-customizations.php became like following image. Am I OK?
https://prnt.sc/13h59oi
But the email sent from WP to the user’s address still shows “domain/account”.
I am using 001 Prime Strategy Translate Accelerator and Loco Translate.
I tried by deactivating those plugins and the result was the same.
Thanks,
Something else may be interfering with this email content, does this issue persist with only Paid Memberships Pro enabled?
Thread Starter
Kaccho
(@ouka1102)
This issue persists when PMPro is disabled.
The theme author asks me to assign Dashboard>Membership>Settings>Pages>LoginPage as WordPress default.
I think this is the problem.
What do you think? Any suggestion?
You can set this to “Use WordPress Default”, please let me know if this helps.
If this issue persists without Paid Memberships Pro active, this may be coming from another plugin or your theme.
Thread Starter
Kaccho
(@ouka1102)
Yes, it works when I “Use WordPress Default”.
In this case, “Regsiter Now” link is also displayed and it redirects to domain/account/?action=register. If anyone register through there, they are out of membership levels. I only want [pmpro_levels] appeared when anyone tries to register.
Can this be possible?
You would need to create a custom redirect as the login page set inside Paid Memberships Pro should be used for login functionality only and not user registration.
Thread Starter
Kaccho
(@ouka1102)
Thank you.
Is there PMPro customization service? Otherwise I will look into solution.
Thanks,
There isn’t a service, you may reach out to a local WordPress developer for assistance.
Thanks for understanding.
Thread Starter
Kaccho
(@ouka1102)
I understand and hired a plugin developer.
He built a PMPro plugin to work this out.
Thanks,