Meta Data and Canonical URL Code Appears in Body Instead of Head Section in theme.liquid

Meta Data and Canonical URL Code Appears in Body Instead of Head Section in theme.liquid

alphabin
Visitor
3 0 0

Hello Shopify Community,

I hope you're all doing well. I'm currently facing an issue with the placement of meta data and canonical URL code in my Shopify store's theme.liquid file. Despite the code being correctly implemented in the theme.liquid file and functioning as expected, the live website displays this code in the body section instead of the head section.

I have verified the theme.liquid file, and it seems to be in order. However, the live website does not reflect the correct placement of this crucial code. This is impacting the SEO and proper indexing of my pages.

Has anyone else encountered a similar problem? If so, could you please share any insights or suggestions on what might be causing this issue and how I can rectify it?

Thank you in advance for your assistance!

Best regards,

Gyan Fashions
Replies 2 (2)

JoshHighland
Shopify Partner
213 12 76

Thats very odd. DM me and I'll have a look for you

SEO Manager - The all-in-One SEO solution for Shopify
A powerful suite of SEO tools that gets you found in Google results

- Install SEO Manager -
alphabin
Visitor
3 0 0

Hello JoshHighland,

Thank you for offering your assistance. I appreciate your willingness to help.

Here is my website URL: https://gyanfashions.com/

I've encountered an issue with the placement of meta data and canonical URL code in my Shopify store's theme.liquid file. Although the code is correctly implemented in the theme.liquid file and functions as expected, the live website displays this code in the body section instead of the head section.

I would be grateful if you could take a look and provide any insights or suggestions on what might be causing this issue and how I can rectify it. For a more clear explanation of my issue, I have attached the video with you.

Thank you in advance for your assistance!

Best regards,
Gyan Fashion

Gyan Fashions