How To Change A URL Generated By Shopify Inside

mamanmansuraja
Visitor
1 0 1

When I navigate to a products page: https://www.site.com/collections/xxxxxx/products/my-product-name ,

Then inspect the HTML and search for "json+oembed",

The URL that is generated inside this header tag is https://www.site.com/products/my-product-name.oembed 

<link rel="alternate" type="application/json+oembed" href="https://www.site.com/products/my-product-name.oembed">
Copy

 

What I would like is for this URL to reflect the actual page URL: https://www.site.com/collections/xxxxxx/products/my-product-name 

 

Am unable to find this logic in .liquids files anywhere

 

Thanks

Reply 1 (1)

sightsizesupply
Visitor
2 0 5

Hello, also interested in learning more about how/where that tag and link is generated/introduced. I have not found any reference to "oembed" as a string in any of the exported theme files. I'm using dawn