All things Shopify and commerce
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
There are shop name to all pages of my website like below.
".................................... - Shopname"
How can i remove that ?
You have to edit the code in the theme.liquid and remove the title from where not required. I can look into it if you can give me the code of your theme.liquid
This is the code of meta tag.
<title>
{{ 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 %}
</title>
Change your code to this
<title>
{{ 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 %}
</title>
This will remove the shop name from the title hope it help
wow. thank you so much. it work good. 🙂
Hi, I could use some help with this question as well. Here is my code from theme.liquid : <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>
How do I Change that so the shop name is not part of the page title?
And , Why is this default? From the SEO I have read , having page titles too long can work against you?
Any insight into that would be apprecaited as well!
<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>
Change the above code with
<title>
{{ page_title }}{% if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif %}{% if current_page != 1 %} – Page {{ current_page }}{% endif %}
</title>
This might help
thanks Prabhat, this code worked for my custom theme too.
hopefully this will help some SEO warnings.
Hi hoping someone can help us too - we have a paid for theme (Impulse from Archetype) and are having the same issue. We are seeing the shop name in front of our title in search results. See images attached - any help greatly appreciated. For information we made the change to the title around 6 weeks ago and have also requested the page be crawled by Google, but still no change
Did you find a solution?
User | RANK |
---|---|
67 | |
46 | |
32 | |
30 | |
28 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022