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

Connect external web app to wordpress

1  Asked on December 31, 2021 by user1528706

   

Use Video as Featured Image

1  Asked on December 31, 2021 by tsquez

   

Display an image if odd number of posts in grid

2  Asked on December 31, 2021 by timmyg

     

Show all Tags in each post

3  Asked on December 31, 2021 by hong-nng-hng

   

Inline Styles on all native blocks

0  Asked on December 31, 2021 by user13989254

   

Search within the current page

0  Asked on December 31, 2021 by danb0328

 

Custom field group on page

1  Asked on December 29, 2021 by excel-virgin

 

Permalink conflict with React Router in subfolder

1  Asked on December 29, 2021 by mediaguru

 

Call to undefined function insert_with_markers

2  Asked on December 29, 2021 by t2pe

   

add_action reference a class

7  Asked on December 26, 2021 by matthew-ruddy

 

preserve url parameters from affliliate sites

1  Asked on December 26, 2021 by kan1

   

Modify Database in Multi-Site wp_usermeta table

1  Asked on December 26, 2021 by antonio-reinoso-jaya

       

Why wordpress rewrite my custom URL?

3  Asked on December 26, 2021 by bhoqs

   

Ask a Question

Get help from others!

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