• Resolved lorenzowebmaster

    (@lorenzowebmaster)


    think maybe i found a bug present in a lot of websites that use the woocommerce plugin lost-password form. I cant understand if its a base plugin problem or a configuration mistake.

    bug info:

    urls like this:

    1)*/my-account/lost-password/whatever

    2)**/my-account/lost-password/asdasdasd/noaseduah

    3)***/my-account/lost-password/inffast/lib

    or on real websites like:

    4)https://themes.woo.com/storefront/my-account/lost-password/asdasdasd/

    5)https://demo.anarieldesign.com/fuel/my-account/lost-password/whynot404/

    always load the /my-account/lost-password/ page instead of throwing the 404 error page(so the browser link is like */my-account/lost-password/whatever but instead of the error 404 page you see the */my-account/lost-password/ page).

    additional infos: It started happening from late december 2023 after an update of the plugin, i noticed it cause google search console started reporting not existing urls like the ones i wrote as an example before in the noindex excluded pages section(likely it keep the noindex but i have on google search console like 1000 not existing urls in the indexing problems section caused by that bugs).

    temporary solution: could be a .htaccess with a rule like this

    RewriteRule ^my-account/lost-password/[a-zA-Z]+/ - [L,R=404]
    

    but i believe that there should be a way to fix it permanently by finding what cause this to happen just for this directory.

    If you know some way to fix it please let me know, i couldnt find the cause making it happen just for the lost-password link. Thanks in advance

    • This topic was modified 9 months, 2 weeks ago by lorenzowebmaster. Reason: fixed suggested fix
Viewing 1 replies (of 1 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello lorenzowebmaster,

    Thank you for contacting WooCommerce support and providing detailed information about the potential bug you’ve encountered with the lost-password form.

    I can understand your concern, especially with how this behavior is being reflected in the Google Search Console.

    We’re grateful that you’ve shared your observations with us, as this helps in our ongoing efforts to enhance the WooCommerce experience. I will make sure to forward your findings to the relevant team so they can investigate the matter further.

    Once again, thank you for your vigilance and for helping us maintain the WooCommerce platform. ??

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress/WooCommerce BUG: 404 not working for /my-account/lost-password/* links’ is closed to new replies.