Stop theme dynamically creating collections/ URLs when a product in a collection is clicked

When someone clicks on a product in any of my collections, my theme takes them to a version of that product pages with collections/ instead of products/ in the URL.

This is effectively creating a duplicate of every product.

it also means that all my products/ versions of my product pages are considered orphans by Google because nothing links to them (the collections only link to the collections/ duplicates of those product pages).

I reached out to my support who tell me it’s not possible to fix but I see almost every other Shopify store does not do this.

Does anyone know if there is a way to resolve this issue?

The theme is Porto for Shopify. You can see it happen on this demo.

I found this fix for the same issue but it doesn’t work on my theme.

If anyone has any suggestions I’d be delighted because this is looking like forcing me to change theme which will be such a nightmare.

Thanks in advance!

You should still be able to find the {{ product.url | within: collection }} code within your theme files. You can use the extension in my signature which will let you search for all occurrences of it in code, where you can replace it with {{ product.url }}