I'm starting to migrate my blog from wordpress to shopify. I'm trying to use the blog tags to split posts into categories.
The problem is the meta titles for tags are auto generated, and the meta description is auto copied from the blog pages meta description. This is going to be awful SEO for the high level category/tag pages.
I spoke to support who say there is no way of editing this info. Could anyone suggest a way of editing the theme files to add unique titles and descriptions for each tag? There will only be about 10 but using conditionals on every page load seems pretty terrible? I'm not a coder...
The closest I've found would be something like this?
How to edit content on pages for Collection Tags in Shopify
...few hours later in theme.liquid I've tried doing the following in the title which seems to work.
{% if current_tags contains 'News' %} News page title {% elsif current_tags contains 'How To' %} how to page title {% else %} {{ page_title }}{% if current_tags %}{% assign meta_tags = current_tags | join: ', ' %} – {{ 'general.meta.tags' | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} – {{ 'general.meta.page' | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %} {% endif %}
I could do something similar for the meta description. Just wondering if this is a terrile way to do it, would it cost much page load time?