Hi @Djani ,
I found it in my product-card.liquid file.
I change :
Hi @Djani ,
I found it in my product-card.liquid file.
I change :
HI @batfink1989 , thanks for your solution.
In my case i have this kind of code ( i guess i not expert on liquid) . I found it on my produc-recommendation-section file
instead of{ product.url }}. i found {{ routes.product_recommendations_url }}
Do you know how i can change it?
Thanks for your help
Thanks for you solution . my Url are clean now
Did you redirected all the long url to the canonical by a redirection on shopify? i have Thousands of url in GSC i am wondering how to manage them!
thanks
Sorryy but its not working
Hi @Alexis_Thery , sorry for the late reply. I’m pleased that my solution helped you.
Re the redirection of the URLs, I’m not sure Shopify allows you to redirect them, so that’s the first thing I’d double check. In my case, I added a robots.txt rule to stop Google from crawling them in the first place. It’s a bit hacky and not the perfect solution, but works in the context of Shopify:
Disallow: ?pr_prod_strat=
@Djani , sorry for the late reply. Did you manage to get this sorted?
It works for me!! I use DAWN theme.
Hi @batfink1989 my question is do you notice in you search consol that url disapeared from your crawled but not indexate page?
No I cannot find anything in the theme where I could find something like that to delete.
FWIW, I’m using the Expanse theme and all this is changed in the product-grid-item.liquid file.
What a pain !
But thank you for your hints , I found the solution for my theme!
FOR DAWN 12