SEO, AdWords, affiliates, advertising, and promotions
Hello Shopify community,
I'm facing a problem with shopify store indexing: blog tags aren't indexed. This is a problem due to SEO and organic traffic. Indexing of tags of the entire shopify store is prohibited via robots.txt, which cannot be edited in any way. But I need to categorize content and target keywords with categories. See our blog for yourself:
I put a lot of work into each content category. every category is an unique content. The articles are precisely categorized, each category has a nice H1 meta tag and contains a short unique text that talks about what the visitor will find in the category. I use this liquid code to display different content on tags:
{% if current_tags contains 'A' %}
A
{% elsif current_tags contains 'B' %}
B
{% elsif current_tags contains 'C' %}
C
{% else %}
Z
{% endif %}
But of course this is not the case. It is important that those categories are not indexed. This is the problem we are trying to solve. How to index these tag categories? Or how to do this so that this content is properly indexed? Thank you.
Best regards
Michal
Solved! Go to the solution
This is an accepted solution.
Indexing of tags of the entire shopify store is prohibited via robots.txt
Crawling level 1 tag URLs is allowed. But multiple tags is blocked by robots.txt, for example:
Allowed: myshop.com/blogs/blog-handle/tagged/tag1
Allowed: myshop.com/blogs/blog-handle/tagged/tag2
Blocked: myshop.com/blogs/blog-handle/tagged/tag2+tag1
You can validate this for yourself with something like technicalseo.com/tools/robots.txt - so I don't think robots.txt is an issue in this case.
But those pages are still not indexed. There are a few things I'd suggest trying, from a birds-eye view without getting too hands on:
This is an accepted solution.
Indexing of tags of the entire shopify store is prohibited via robots.txt
Crawling level 1 tag URLs is allowed. But multiple tags is blocked by robots.txt, for example:
Allowed: myshop.com/blogs/blog-handle/tagged/tag1
Allowed: myshop.com/blogs/blog-handle/tagged/tag2
Blocked: myshop.com/blogs/blog-handle/tagged/tag2+tag1
You can validate this for yourself with something like technicalseo.com/tools/robots.txt - so I don't think robots.txt is an issue in this case.
But those pages are still not indexed. There are a few things I'd suggest trying, from a birds-eye view without getting too hands on:
Ok thank you very much for your answer and your advices. We will implement them. Hopefully will all go ok
⚠️Notice: This is an unsupported customization . If you break something you're on your own Shopify support will not help you and will have to pay someone to fix it.
Editing robots.txt feature is rolling out, should have generally availability by monday, so far for all plans.
Bigger thread https://community.shopify.com/c/Shopify-Discussion/How-can-I-edit-robots-txt/m-p/1212458/highlight/t...
https://help.shopify.com/en/manual/online-store/themes/theme-support#shopify-design-policy
Be careful while you can make it so more tags are crawl tags can be applied in any order risking duplicate content SEO penalties.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hello!
Just a quick update about the robot.txt file that was referenced in this post. As of today, June 21st, 2021, we have launched the ability to edit the robot.txt file to give merchants more control over the information that is crawled by search engines. You can learn more about how to edit your robot.txt file through our community post here.
If you have any questions about the new feature, please do not hesitate to create a new post under our "Techincal QA" board.
Trevor | Community Moderator @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024