Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
Our domain is dropping Search Engine Ranking like crazy after shifting to shopify.
Website is www.bigloveindianhair.com
We are using Dawn Theme, and the default code is getting our store name in front of title which I think is leading to negative ranking.
For the home page, under preferences we have set Title as "Raw Indian Hair Extensions." But after publishing, the title code looks like this if you were to view home page source code (below code pasted from homepage>view source)
<link rel="preconnect" href="https://cdn.shopify.com" crossorigin><link rel="icon" type="image/png" href="//www.bigloveindianhair.com/cdn/shop/files/favicon.png?crop=center&height=32&v=1683104386&width=32"><link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin><title>
Raw Indian Hair Extensions
– BigLove Indian Hair</title>
In google SERP, the store name is coming first, then the title we have set in preferences.
Could someone please me remove store name from theme.liquid?
Our default title tag under theme.liquid is below
<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>
Also, title in theme.liquid has a space after previous code, but if the homepage source is viewed, the previous code comes with <title> tag in the same line as posted above. How could I get the title tag to come in a separate line please? Posting our current theme.liquid below. I did add google tag manager script on top. Could that be an issue?
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-K5TMGDC');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="">
<link rel="canonical" href="{{ canonical_url }}">
<link rel="preconnect" href="https://cdn.shopify.com" crossorigin>
{%- if settings.favicon != blank -%}
<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{%- endif -%}
{%- unless settings.type_header_font.system? and settings.type_body_font.system? -%}
<link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin>
{%- endunless -%}
<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>
Thank you so much for your help!!
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025