Jimbo5 Posted June 2, 2022 Share Posted June 2, 2022 (edited) Hello, Something very strange is happening to me with some Prestashop urls. If for example we have this product: https://domain.com/brides/engagement-ring-131 (we have placed the ids at the end of the url) generates an exact duplicate with a second id: https://domain.com/brides/engagement-ring-131-456 Do you know what could be happening? Has it happened to anyone else? This is only happening with products that have diferent sizes, like rings. attached capture with several urls -> Edited June 7, 2022 by Jimbo5 (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted June 2, 2022 Share Posted June 2, 2022 Hi, those URL's are the URL of the combinations, so this URL : https://domain.com/brides/engagement-ring-131 is for the main /default combination, and this URL is the URL of the combination ID 456 : https://domain.com/brides/engagement-ring-131-456 Since the default combination has no combination ID only the product ID, then I suspect that probably you are using some kind of ID-less URL module or modification on the shop. Have a nice day, Leo. 1 Link to comment Share on other sites More sharing options...
Jimbo5 Posted June 2, 2022 Author Share Posted June 2, 2022 Thank you very much Leo. Have you seen the urls that I have put in the capture? both are the same, identical, but then they show the typical variations of the different types of sizes. Another thing is for example I can't find the url with id 456 (doesnt exist) in the backend to remove it. I´m redirecting 131-456 to 131 (not sure if I'm explaining myself well) Link to comment Share on other sites More sharing options...
Jimbo5 Posted June 2, 2022 Author Share Posted June 2, 2022 I forgot, I am not using any type of module to remove id, the only thing I have done is change the id from the beginning to the end Link to comment Share on other sites More sharing options...
Jimbo5 Posted June 2, 2022 Author Share Posted June 2, 2022 And maybe this can help too Link to comment Share on other sites More sharing options...
joseantgv Posted June 3, 2022 Share Posted June 3, 2022 By default, PS generates the URLs with [Product ID]-[Attribute ID]-[rewrite]. If you have a shirt with size S, M and L you will have: domain.com/category/1-1-shirt.html domain.com/category/1-2-shirt.html domain.com/category/1-3-shirt.html But please note that the canonical URL from the 3 pages is the same, that's why it's considered as duplicated. Link to comment Share on other sites More sharing options...
Prestachamps Posted June 3, 2022 Share Posted June 3, 2022 Hi @Jimbo5, please check for these products if there is a default combination configured? as I've tested this type of URL's and for my products with combination I had the URL as https://domain.com/brides/engagement-ring-131-456 , with the default combination ID. Have a nice day, Leo. 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