Fixing Lost your password url conflict
I ran to a weird issue with one of my client project recently.
The website was built with WooCommerce for shop. Please note my client website didn’t needed account pages and during test I noticed that Lost your password? url had been changed to some random urls. Initially it was pointing to My Account Page and when I deleted this page, was pointing to /lost-password/ page. After some digging, I found both of the pages were WooCommerce default pages.
So here are steps I followed to fix the problem.
REMINDER : the website in this didn’t needed My Account pages.
- Delete My account page if not needed. Please delete with caution. In my case this page wasn’t needed.
- Go to WooCommerce
- Go to Settings
- Go to Advanced
- Go to Account end points
- Remove Lost password slug lost-password
- Hit Save Changes
I am Robin - WordPress Developer based in Sydney. I work as Digital Developer. I do some projects now and then, and love blogging about WordPress and Web Design.