How can we help?

Search the documentation or ask the AI agent anything about the plugin.

WooCommerce password reset link shows “page not found”.

Updated December 10, 2024

The “Page not found” error when using the WooCommerce password reset link is typically caused by one of the following issues:

1. Permalink Settings

  • WooCommerce heavily relies on WordPress permalinks. If they’re not correctly configured, the password reset link might not work.
  • Fix:
    1. Go to Settings > Permalinks in the WordPress admin area.
    2. Save the permalink structure again, even if it hasn’t been changed.
    3. Test the password reset link.

2. Custom Endpoint Conflicts

  • WooCommerce uses custom endpoints for actions like password reset, which may conflict with other plugins or themes.
  • Fix:
    1. Ensure the WooCommerce endpoints are correctly configured:
      • Go to WooCommerce > Settings > Advanced.
      • Check the “Account Endpoints” section. The endpoint for password reset is typically /lost-password/ or /my-account/lost-password/.
    2. If there’s a conflict, change the endpoint slug to something unique (e.g., lost-pass).

3. Theme Compatibility

  • Some themes override WooCommerce templates or URLs, leading to errors.
  • Fix:
    1. Temporarily switch to a default WordPress theme.
    2. Test the password reset link. If it works, the issue is with your theme.
    3. Contact the theme developer for support or ensure the theme is updated.

4. Conflict with Plugins

  • Other plugins may interfere with WooCommerce functionality.
  • Fix:
    1. Disable all other plugins except WooCommerce.
    2. Test the password reset link.
    3. Re-enable plugins one by one to identify the culprit.

5. SSL or HTTP/HTTPS Mismatch

  • If your site isn’t fully using HTTPS, the URL for password reset links might be incorrect.
  • Fix:
    1. Ensure your site uses HTTPS.
    2. Update the WordPress Address and Site Address to use https:// under Settings > General.
    3. Use a plugin like Better Search Replace to replace old http:// URLs with https:// in the database.
  • Be sure to take a backup of your website first.

6. Broken WooCommerce Installation

  • Sometimes, WooCommerce core files might be corrupted or missing.
  • Fix:
    1. Reinstall WooCommerce from Plugins > Add New.

Debugging Steps

  • Check the URL of the password reset link. It should look something like https://yourdomain.com/my-account/lost-password/.
  • Enable WordPress debug mode by adding the following to your wp-config.php file:phpCopy codedefine('WP_DEBUG', true); define('WP_DEBUG_LOG', true);
    • Check the debug log at wp-content/debug.log for any error messages.
Was this article helpful?