SEO, AdWords, affiliates, advertising, and promotions
Hey upon google search of my website, the filter tags I use in shopify to segregate my products and collections are showing up on google search. earlier my collections used to show up.
Anyone knows how to fix this or why this is happening? my website is https://houseofviraasi.com/
Hi @houseofviraasi , thank you for posting here!
The issue of filter tags appearing in Google search results instead of your collections likely occurs because Shopify generates URLs for your filter tags, and Google is indexing these URLs. This can happen due to a lack of control over how search engines are crawling and indexing these tag URLs. Here’s how you can fix it:
1. Prevent Filter Tags from Being Indexed
You can use the robots.txt.liquid file in Shopify to block search engines from indexing these tag URLs. To do this:
User-agent: * Disallow: /collections/*?*tag=
This tells search engines not to index URLs containing ?tag=.
2. Use Canonical Tags
Ensure that your Shopify collections have proper canonical tags that point to the primary collection URL. Shopify typically generates these automatically, but you can check them:
<link rel="canonical" href="{{ collection.url }}">
3. Update Google Search Console
Submit your sitemap to Google Search Console to help it understand which pages you want indexed:
4. Check and Update Internal Linking
Ensure that your internal links (menus, breadcrumbs, etc.) link directly to the collection pages instead of filtered/tagged URLs.
5. Request Removal of Indexed Tags
For any tag URLs already indexed, use Google’s URL Removal Tool to request their removal:
6. Ensure Tag URLs Are No-Indexed
If you can’t prevent tag URLs from being created, you can add a noindex meta tag to these pages:
{% if current_tags %} <meta name="robots" content="noindex"> {% endif %}
hey,
thank you so so much. @WizzCommerce_Co
1. I did the first step of adding the code in end of robots.txt.liquid file.
2. I have collection.json - can I add this code here or no? sorry I just migrated to dawn theme
<link rel="canonical" href="{{ collection.url }}">
4. I can't find breadcrumbs? although all my menus link to a collection or page nothing with filters. I updated other again just in case.
5. Can I add this too in collection.json
{% if current_tags %} <meta name="robots" content="noindex"> {% endif %}
Hi @Margaret_616 Thanks for your reply.
where do I find the filter tag pages?
this is happening from my collection page as far as I can see
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024