Title: Wrong link after an error made while login
Last modified: December 14, 2021

---

# Wrong link after an error made while login

 *  Resolved [matejseh](https://wordpress.org/support/users/matejseh/)
 * (@matejseh)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/wrong-link-after-an-error-made-while-login/)
 * If a consumer (or a user) is doing a mistake during his login, an error message
   and a link appears on the page: “invalid email: lost your password ?”.
    If he
   clicks on the link, he is redirected to the password recovery page. So far so
   good, except that he is directed to the default WordPress page instead of the
   new page created by Profile Builder. The error message page contains the link
   xxx.com/xxaccount.php?action=lostpassword. To correct this, this would apparently
   require to modify a core page. And replace this link with another one who calls
   the Profile Builder Password Recovery page. Is there not another way ? Thank 
   you for reading
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-link-after-an-error-made-while-login%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/wrong-link-after-an-error-made-while-login/#post-15164921)
 * Hi,
 * Simply add a recover password attribute to the login with a link to the page 
   where you have the recover password shortcode [wppb-recover-password]
 * [https://www.cozmoslabs.com/docs/profile-builder-2/shortcodes/#Add_Register_and_Lost_Password_links_below_the_Login_form](https://www.cozmoslabs.com/docs/profile-builder-2/shortcodes/#Add_Register_and_Lost_Password_links_below_the_Login_form)
 * Best Regards.
 *  Thread Starter [matejseh](https://wordpress.org/support/users/matejseh/)
 * (@matejseh)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/wrong-link-after-an-error-made-while-login/#post-15166148)
 * Fantastic. It’s works flawless.
    And this short codes and arguments page is really
   a great and useful resource. I should have read it before 😉 Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrong link after an error made while login’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [matejseh](https://wordpress.org/support/users/matejseh/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/wrong-link-after-an-error-made-while-login/#post-15166148)
 * Status: resolved