Solved

Page titles and meta descriptions not working

flyingswag
Shopify Partner
3 0 1

Hi

 

I have noticed that the data we enter on the pages/products/collections within the "Search engine listing preview" is not showing on the live site (for example the page titles when I hover on the tab are only showing the URL of the page)

 

There is an old app names Smart SEO that was part of our website when we took ownership over it which I am unsure if this is causing the issue?

 

Can anyone point in the right direction on how to solve this? 

 

I think the ideal solution would be to delete the Smart SEO plugin and ensure the code is correct to have the Page Titles display correctly?

 

Thank you in advance

 

flyingswag_0-1718149324693.png

 

Accepted Solution (1)

PaulMartin
Shopify Partner
250 39 72

This is an accepted solution.

Hi @flyingswag,

The search engine listing preview is not the place that you would be looking at. That is for setting how your website should display when being searched by search engines like Google or Bing. 

This is a problem involving your theme. From what I see here, your theme does not have the <title> tag inside the <head>. The <title> tag is the one that sets the name at tab level. The absence of that in your theme is the reason why this is happening
HTML title tag (w3schools.com)

PaulMartin_0-1718151912774.png

Open to help people out, just email me here or tag me by using "@" when posting your comment

View solution in original post

Replies 4 (4)

PaulMartin
Shopify Partner
250 39 72

This is an accepted solution.

Hi @flyingswag,

The search engine listing preview is not the place that you would be looking at. That is for setting how your website should display when being searched by search engines like Google or Bing. 

This is a problem involving your theme. From what I see here, your theme does not have the <title> tag inside the <head>. The <title> tag is the one that sets the name at tab level. The absence of that in your theme is the reason why this is happening
HTML title tag (w3schools.com)

PaulMartin_0-1718151912774.png

Open to help people out, just email me here or tag me by using "@" when posting your comment
flyingswag
Shopify Partner
3 0 1

Thank you for taking the time to reply My understanding was that themes pull this Page Title from the search engine listing preview and use it as the title tag? Is that not correct?

Im confused about how I can add a dynamic piece of code to the website that automatically pulls the Page Title through - is there an easy way to do this and how do I go about making it something like "Name of Page/Post" | store name"

For clarity, the website did used to show these page titles, then last week a dev updated our schema (which I think was being handled by the Smart SEO app). He disable the Smart SEO app and I think this has caused this new issue

Hoping to just get rid of this app once I have the <title> script sorted as it seems to be causing more issues than its worth.

 

Any assistance would be very much appreciated

Thanks again

PaulMartin
Shopify Partner
250 39 72

Yes, that is not correct.

No need to worry about making it dynamic, I can help you out with that one and in the format you desire.

Hmmm, it seems like the app did something to your layout file. Could it be possible for you to share your theme.liquid file?
It is found in the Themes > ... of the active theme > Edit Code > Layout folder > theme.liquid
You can send me a message if you prefer not sharing it publicly.

Open to help people out, just email me here or tag me by using "@" when posting your comment
flyingswag
Shopify Partner
3 0 1

Thank you - I will send a message shortly