Jimbo5 Posted August 25, 2023 Share Posted August 25, 2023 I'm having a very strange problem with the store urls. The fact is that each and every one of the categories is generating an extra url in which they mount another category. Something like this: https://valledearas.com/es/aceitunas/es/108-vino-dulce https://valledearas.com/es/aceitunas/es/159-vino-semiseco https://valledearas.com/es/aceitunas/es/160-vino-semidulce https://valledearas.com/es/aceitunas/es/184-vino-de-rioja https://valledearas.com/es/aceitunas/es/185-vino-reserva https://valledearas.com/es/aceitunas/es/186-vino-de-toro https://valledearas.com/es/aop-roquefort/es/108-vino-dulce https://valledearas.com/es/aop-roquefort/es/159-vino-semiseco https://valledearas.com/es/aop-roquefort/es/160-vino-semidulce https://valledearas.com/es/aop-roquefort/es/184-vino-de-rioja https://valledearas.com/es/aop-roquefort/es/185-vino-reserva https://valledearas.com/es/aop-roquefort/es/186-vino-de-toro https://valledearas.com/es/aove/es/108-vino-dulce https://valledearas.com/es/aove/es/159-vino-semiseco https://valledearas.com/es/aove/es/160-vino-semidulce https://valledearas.com/es/aove/es/184-vino-de-rioja https://valledearas.com/es/aove/es/185-vino-reserva https://valledearas.com/es/aove/es/186-vino-de-toro etc And always with those wines as second category Link to comment Share on other sites More sharing options...
AddWeb Solution Posted August 28, 2023 Share Posted August 28, 2023 Hi, In prestashop BO, check that the "SEO" tab settings are correctly configured in Categories. Check the "Friendly URL" field and ensure it doesn't contain any extra slashes or unexpected characters. Also, check the "Parent category" field to ensure it's set to the correct parent category. Goto Advanced Parameters -> Performance, Click on the Regenerate .htaccess file button. This will recreate the .htaccess file, which controls URL rewriting. Open your .htaccess file in the root of your PrestaShop installation. Ensure there are no duplicate rewrite rules or rules that might be causing this issue. After making changes, Clear your Prestashop cache. Try accessing the affected URLs again to see if the issue has been resolved. Thanks! Link to comment Share on other sites More sharing options...
Jimbo5 Posted September 22, 2023 Author Share Posted September 22, 2023 Thank you very much for your help and sorry for the wait. I just finished doing everything you indicated but I still have the same problem. I have analyzed the web through Screaming Frog and those URLs keep appearing. Link to comment Share on other sites More sharing options...
Jimbo5 Posted October 4, 2023 Author Share Posted October 4, 2023 Any other suggestions? Thanks in advance Link to comment Share on other sites More sharing options...
musicmaster Posted October 5, 2023 Share Posted October 5, 2023 I find those double /es/ tags the weirdest. Did you change the definition of the urls in urls&seo page? And did you try regenerating .htaccess. Link to comment Share on other sites More sharing options...
Jimbo5 Posted October 6, 2023 Author Share Posted October 6, 2023 That's how I have it now (image). I tried to do what AddWeb Solution said of regenerating the .htaccess without luck Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now