New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Category Page : Canonical URL of the product wrong (!= canonical url on the product page) #15667
Comments
Look like the default category of the product is not part on the canonical url variable on the product listing. |
No. The url of the product on the listing is different of the url of the product page targeted by the category listing (redirection of the url product). When i try to change it with the canonical url in the theme, the url is still wrong. The url of the product seems to be always align with the current category. |
@DoIB, I did not manage to reproduce the issue with PS1.7.6.1. Thanks! |
Yeah, it's the same schema |
In some case, you have a product with multiple category but one default category. The shop seems to display an product url with the current category (in it) on the product listing of the associated category (instead of one an only one url for all the shop). The url need the default category on it (instead of the current category) |
Otherwise, it's hurtfull for SEO :) |
@DoIB, I did not manage to reproduce the issue with PS1.7.5.2 & PS1.7.6.1. Thanks! |
Weird. Could i have something in database scrambling the redirection ? If, with the default theme, i have still have the issue, do i have something to inspect or check ? :) |
@DoIB, did you use any custom module related to the SEO or URLs? Thanks! |
No SEO module or module associated to category or products. The products and category come from an import (migrating Magento to Prestashop). Could i have something in database scrambling the redirection ? The issue seems to come from the default category. How to check and correct it ? :) |
@DoIB, Could you please try to regenerate the file .htaccess
Thanks to check and feedback |
I checked. It's unchanged. |
Hi @DoIB, Despite our several trials, we could not reproduce your issue with the provided information. Thanks! |
The variable Canonical URL of a product on the category page is different of the one on the product page.
Prestashop v 1.7.5.1
The text was updated successfully, but these errors were encountered: