Hi,
I connected my sitemap to GSC. But I just realsized that my products are missing in the sitemap. See below:
Can someone help with this. I don’t know what happend.
Many Thanks!
A user discovered their product pages are missing from their Google Search Console (GSC) sitemap.
Another community member diagnosed the issue: all product pages have a “noindex” meta tag, preventing search engines from indexing them. This can be verified by viewing the page source code.
Proposed solution:
<meta name="robots" content="noindex,nofollow"> code from the theme.liquid file</head> tag to allow product pages to be crawled and indexedCurrent status:
The original poster attempted the fix by adding the suggested code, but products still don’t appear in the sitemap. The helper suspects the noindex code may be coming from another source, possibly a snippet that was created to noindex product pages, rather than the theme.liquid file.
The issue remains unresolved as they work to locate and remove the conflicting noindex directive.
Hi,
I connected my sitemap to GSC. But I just realsized that my products are missing in the sitemap. See below:
Can someone help with this. I don’t know what happend.
Many Thanks!
Hi @C00rn1 ,
I checked your website and found your all products are no-index for the search engine. you can also check here - view-source:https://fps-shop.com/collections/frontpage/products/natural-pleasure-elixir
just open this link it will show source code of the product page and just find “noindex” word.
Solution is you have to remove this code if it is written in “theme.liquid” file or if you didn’t find then you have to copy and paste this code in your “theme.liquid” file before tag.
{% if template contains 'product' %}
{% endif %}
It will allow all the products pages to fetch, crawl and index. ![]()
Okay, many thanks. I will try this. Does it take some time untile i see the new sitemap or indexed product pages?
@C00rn1 No, when you put my code it will apply on all product pages instantly and you can generate sitemap.xml and check your products.xml will show in your sitemap.xml file.
Please try this now and let me know. If works please like and tag as a solve.
Thanks
@C00rn1 Please put the code under tag only.
Can you please find this code
and remove from the theme.liquid file because still noindex code is triggering in your code.
There no such code. Could there be another issue?
I think code is coming from the Snippet, someone created snippet for the noindex product pages.