Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I'm having an issue with my vendors page that is still Indexed.
I followed the shopify instructions to hide a page from search engine. I can see now my page has the meta tag :<meta name="robots" content="noindex">. It's been 3 weeks but the page is still indexed...
After that, I edited the robot.txt.liquid in my theme file and add this code :
{% for group in robots.default_groups %}
{{- group.user_agent -}}
{% for rule in group.rules %}
{{- rule -}}
{% endfor %}
{%- if group.user_agent.value == '*' -%}
{{ 'Disallow: /*?q=*' }}
{%- endif -%}
{%- if group.sitemap != blank -%}
{{ group.sitemap }}
{%- endif -%}
{% endfor %}
But it's still not working...
And even when I test my URL in Google Search Console, it's said that it's not indexed...
I tried without cache and with other browsers but the page is still appearing just under the home page
Do you have any idea how to resolve this problem ?
Thanks for your help
Someone has the same problem ?
Google or Shopify changed the Meta Title with flags and I have no idea why... I searched in the code and there is no sign of flags at all...
I'm having the same issue but when I browsed through Google docs they claimed that the disallowed page cannot be blocked via robots.txt in order for the header tag to work.
https://support.google.com/webmasters/answer/7440203#indexed_though_blocked_by_robots_txt
The page was indexed despite being blocked by your website's robots.txt file. Google always respects robots.txt, but this doesn't necessarily prevent indexing if someone else links to your page. Google won't request and crawl the page, but we can still index it, using the information from the page that links to your blocked page. Because of the robots.txt rule, any snippet shown in Google Search results for the page will probably be very limited.
Next steps:
Hi, I have the same problem. I had in theme.liquid:
Hi
i tried to use this code in my website
and it's work perfect.
Super, though I think that "noindex, follow" is best practice.
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025