SEO, AdWords, affiliates, advertising, and promotions
Hi
this is how my code in the theme.liquid looks
<!-- Basic page needs ================================================== -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="{{ 'favicon.ico' | asset_url }}" type="image/png" />
{%- if template contains 'index' -%}
{%- if page_title != blank and page_title != 'Welcome' -%}
<title>{{ page_title }}</title>
{%- else -%}
<title>{{ shop.name }}</title>
{%- endif -%}
{%- elsif template == '404' -%}
<title>Page Not Found</title>
{%- else -%}
<title>{{ page_title }}</title>
{%- endif -%}{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}" />
{%- endif -%}
All i want it that all pages just use the page title, but in the google search my page keeps looking different.
For an example my page title/seo title could be:
Shirtmaster | Cool Shirts | Free Beer Also!
in google its:
Cool Shirts - Shirtmaster
I would be very glad if someone could help me out with the code
Have a nice day and take care all
Phil
Cant figure it out myself. Anyone? 🙂
Have a great day
Hi Phil,
What exactly are you trying to achieve? Are you trying to show different titles on different pages? Or are you trying to show dynamic titles for your pages?
User | RANK |
---|---|
7 | |
5 | |
5 | |
4 | |
4 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023