Meta title and meta description code is commented by default

I see that option provided by shopify called “Edit website SEO” to add meta title and meta description for the pages is not really working.

I tired adding title and description using that option but when I go to the source code of the page two line of code are by default showing commented. This why google is unable to fetch the meta title and description of the page.

I have attached screenshot for the reference. you help will be highly appreciated.

A few lines above in the source code of your website you can found additional meta title and description tags. I suppose that you installed some SEO app that commented native code in your template and which add its own meta tags.

Hi, Rabbyte

I have installed SearchPie for this matter. My store is in multiple language So Basically, I want to add different meta title and description for each product and collection page for different language like spanish, french, etc.

do you have any suggestions what can I do?

Meta title and description for products and collections is generated automatically, and it is based on product/collection title and description. I don’t have any suggestions on how to overwrite this default behavior for different languages.

Regarding commented code in your theme you can go Online Store > Themes and Edit code for your active theme. In theme editor you need to check theme.liquid file in Layout directory. In this file you should find the code responsible for displaying these meta tags and uncomment them if you need. Maybe there will be some information about why this code is commented.