TransWikia.com

How to customize the Lost Password URL?

WordPress Development Asked by Radu on October 17, 2020

I have a WordPress website on which I have changed the default login url from “mydomain.com/wp-login.php” to “mydomain.com/login”.
Currently my lost password URL is at “mydomain.com/login?action=’lostpassword’”. How can I change the URL in order to have it at “mydomain.com/lostpassword”?

I changed the link using the lostpassword_url filter, but now I have to somehow display the default lost password page on the new custom link (it is currently showing "Page not found").

I am not trying to display a custom lost password page, but to display the default lost password page on a custom url.

Thanks for your help!

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP