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 |
---|---|
11 | |
4 | |
3 | |
3 | |
3 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023