Why does my password recovery page return a 404 error?

I am trying to link up the password recovery page at the bottom of the login form. The code looks like this -

Recover

After clicking on the links from the website, it shows a 404 error. The recovery URL is -

https://[website]/account/recover

Why this is happening? Can anyone help, please?

1 Like

Also currently having this issue. Were you able to resolve it? And if so, how?

1 Like

Me too

Hey Abdullah,

You have to understand that the template page in your Theme, Templates → Customers → reset_password.JSON will only appear when the user clicks on a links inside an email sent to his email inbox after submitting his email in the reset password form in the login page.

Which means, the user goes to yourShopifyStoreName.com/account/login#recover, then submits his Email, then the user will receive an Email with a link inside it. When the user clicks that link, it will direct him to the reset_password.JSON template page.

What you are looking for is kinda like this:

FORGOT YOUR PASSWORD?

Thumbs up, if you found this useful.