Custom lost password form for WordPress
Using the default WordPress "Lost password" form or creating your own custom "Lost password" form to let users reset their password.
Using the default WordPress lost password form
By default WordPress already has a Lost password form that (on a default installation) can be accessed via the below URL which should look like this:
https://domain.com/wp-login.php?action=lostpassword
Changing the "Lost password" link on your login form
This works great for most use cases so if you are OK with having this as your "Lost password" form, then you can edit your custom Login form and make sure you point the "Lost password" link to the correct URL as shown below.

Using a Button to act as the "Lost password" link



Creating your custom "Lost password" form
If you prefer using a custom "Lost password" form over the default WordPress "Lost password" form, you can edit your form and navigate to Form Settings > Register & Login. From the Actions option choose Reset password (lost password). You should now see all the settings that relate to resetting a password. Configure them as you see fit.

Last updated