Lost password Url link
I have a issue is when I click on "Lost your password?" on my account page, it will direct me to https://www.mydomain.com/wp-login.php?action=lostpassword instead of https://www.mydomain.com/my-account/lost-password.
It used to direct it to https://www.mydomain.com/my-account/lost-password when click on "Lost your password?".
It's just suddenly happen.
How could I fix it and prevent that happen again?