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.

This article explains how to link your custom Login form with the default WordPress Lost password form, and how you can configure and setup your own custom Lost password form for your WordPress website. You may also be interested in reading how setup a Login form and or Registration form.

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
The default WordPress reset/lost password form.
The default WordPress reset/lost password 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.

Changing the Lost password link to point to the default Lost password form of WordPress
Changing the Lost password link to point to the default Lost password form of WordPress
Adding a Button to your form.
Adding a Button to your form.
Adding a custom Button to act as the "Lost password" link.
Adding a custom Button to act as the "Lost password" link.
Adding a custom Login button that acts as the "Submit form" button.
Adding a custom Login button that acts as the "Submit form" button.

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.

Configuration options for your custom WordPress Lost Password form.
Configuration options for your custom WordPress Lost Password form.

Last updated