SEO, AdWords, affiliates, advertising, and promotions
hi i want to remove the "- Soleheaven" part of my product and collection titles in google search so in this example its just "Pink Nike Dunks" im using dawn theme this is my store https://soleheaven.co.uk/collections/pink-nike-dunks
Hi @samf2
Have you tried editing your product's search display?
Hey @samf2
You have to edit your theme code to remove the name from your title. As with all things Google, this is only a recommendation and Google may choose to show a different title than what you've provided.
When editing the theme code, select the theme.liquid file and look for the <title> tag. Always be careful when editing your theme code if you're not a developer. Make sure you back up your theme before editing.
Before:
<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>
Remove the second to last line.
After:
<title>
{{ page_title }}
{%- if current_tags %} – tagged "{{ current_tags | join: ', ' }}"{% endif -%}
{%- if current_page != 1 %} – Page {{ current_page }}{% endif -%}
</title>
It may take time for Google to update the results.
This works - I would mark as solution but it's not available. Thanks again Illana, funny how I just searched for this issue and you were able to solve for me again 😄
Glad it helped you too 🤣
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024