AnswerBun.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!

Related Questions

No more get_option(‘date_time’) in WordPress 5.5?

1  Asked on February 10, 2021 by wittich

       

How should I tackle this situation?

0  Asked on February 9, 2021 by remus

   

How to create an anonymous forum?

0  Asked on February 8, 2021 by keyrands

   

Detect if REST API is running

2  Asked on February 8, 2021 by tom-j-nowell

 

Create a bulk action to pass user profiles into a CPT

0  Asked on February 6, 2021 by zaesar

     

Can’t update WordPress with Admin Users

0  Asked on February 4, 2021 by charlene-the-web-design-queen

       

Get Child Category only

1  Asked on February 2, 2021 by joamika

   

MULTISITE: Password issue and Error Cant access site

3  Asked on January 31, 2021 by msn_administrator

 

Ask a Question

Get help from others!

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