Comments andrea started the conversationApril 8, 2021 at 4:57pmHow To Edit The Title Tags In Your Shopify Template?i have tried to replace this in head.liquid:<title>{{ seo_title }}</title>with this:<title>{{ page_title }}{% if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif %}{% if current_page != 1 %} – Page {{ current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}</title> but it doesnt work.I would like to change the structure of the title meta tag for seo including also the tags and the product types of the search function.for example for this url:https://seashepherdstore.it/collections/uomo?q=tg_:Black+tp_:felpei like this meta tag title:collection(uomo) + product type(felpe) + tags(black) 196Mari repliedApril 9, 2021 at 6:59amHi, andra,snippets/head.liquid file is the correct place to change the title tag.Please note, you should update it in both places - https://take.ms/GM6f9Your code looks the same as for seo_title variable. Stay safe and healthy. Best regards, Mariandrea repliedApril 16, 2021 at 3:06pmyes the code is similar to how I already want it. I think then that to obtain what I want I can only make ad hoc collections like:Man-hoodieMan-shirtsetc....So in the meta tag title Seo there will be the info I wantandrea repliedApril 16, 2021 at 3:10pmnow the men's t-shirt collection I see it through the filter selection in the sidebar of the shop which creates me this url: https://seashepherdstore.it/collections/uomo?q=tp_:magliette (in italian) but here the meta tag title seo is: <title>Collezione Uomo | Sea Shepherd Store– SeaShepherdItalia</title> (in italian) without the word "t-shirt" ("maglietta" in Italian) 196Mari repliedApril 19, 2021 at 6:55amHi, Andrea,My developer will review you store configuration.Stay safe and healthy. Best regards, Mari Sign in to reply ...
How To Edit The Title Tags In Your Shopify Template?
i have tried to replace this in head.liquid:
<title>{{ seo_title }}</title>
with this:
<title>{{ page_title }}{% if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif %}{% if current_page != 1 %} – Page {{ current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}</title>
but it doesnt work.
I would like to change the structure of the title meta tag for seo including also the tags and the product types of the search function.for example for this url:
https://seashepherdstore.it/collections/uomo?q=tg_:Black+tp_:felpe
i like this meta tag title:
collection(uomo) + product type(felpe) + tags(black)
Hi, andra,
snippets/head.liquid file is the correct place to change the title tag.
Please note, you should update it in both places - https://take.ms/GM6f9
Your code looks the same as for seo_title variable.
Stay safe and healthy.
Best regards, Mari
yes the code is similar to how I already want it.
I think then that to obtain what I want I can only make ad hoc collections like:
Man-hoodie
Man-shirts
etc....
So in the meta tag title Seo there will be the info I want
now the men's t-shirt collection I see it through the filter selection in the sidebar of the shop which creates me this url:
https://seashepherdstore.it/collections/uomo?q=tp_:magliette (in italian)
but here the meta tag title seo is:
<title>Collezione Uomo | Sea Shepherd Store– SeaShepherdItalia</title> (in italian)
without the word "t-shirt" ("maglietta" in Italian)
Hi, Andrea,
My developer will review you store configuration.
Stay safe and healthy.
Best regards, Mari