How to redirect users to custom lostpassword page when they click on the Error: Lost your password?. Because I set a redirect for wp-login.php
to my custom login page. when a user click on Error: Lost your password? it requests for wp-login.php
and then automatically redirects to custom login page. I know the function is present on wp-login.php
file but I don’t know what changes shall I make to make this possible. Please help.
I have also renamed wp-login.php.
1 comment
Comments are closed.
If you only want to adjust the link of the lost password page, then there is a designated filter for that: