Hi everyone,
first of all many thanks for your support so far!
I ran into another issue which I could not find a solution for.
The google SEO title for my main store page always has my shop name as first word with “:” after the name, although I entered it differently in the onlineshop meta title settings.
What I put as SEO title in the onlineshop settings: “Diamantschmuck günstig kaufen | DAMANDIA”
What it gets transformed to: “DAMANDIA: Diamantschmuck günstig kaufen”
I already contacted shopify support, but they told me it is intended to be that way.
Do you know how to get that fixed and have the SEO title for my main page displayed as I entered it? For all other pages the title looks fine.
Many thanks in advance!
Hi @Diashop ,
Please go to theme.liquid file, find ‘page_title’ and change code here:
Code:
{% if request.page_type == 'index' %}
DAMANDIA: Diamantschmuck günstig kaufen
{% else %}
{{ page_title }}
{% endif %}
Hope it helps!
Hi LitCommerce!
Many thanks! Seems to be working!
1 Like
Hi, seems like it does not fix the problem.
This is the code I have now:
{% if request.page_type == 'index' %}
Diamantschmuck günstig kaufen | DAMANDIA
{% else %}
{{ page_title }}
{% endif %}
{%- 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 -%}
“Diamantschmuck günstig kaufen | DAMANDIA” is the title I would like to be displayed in google. It also the one that is show in the browser tab when I open the page, but that was also the case earlier. If I add a word to the title e.g. “Diamantschmuck günstig online kaufen | DAMANDIA” this change is picked up by google within a few days. However, it is then still reading “DAMANDIA: Diamantschmuck günstig online kaufen”.
So I still can not get rid of the pre-fix “DAMANDIA:” before my page title. Any idea what else to try?
Many thanks so far!