How to change a URL generated by Shopify inside the <Header> tag

Highlighted
New Member
3 0 0

Hello,

I am using Brooklyn theme,

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">

 

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

 

 

 

0 Likes
Highlighted
New Member
3 0 0

Have solved it

0 Likes