Blog post SEO error "The property pubdate is not recognized by Schema.org vocabulary."

Solved

Blog post SEO error "The property pubdate is not recognized by Schema.org vocabulary."

nchantu
Excursionist
17 1 8

Hi, 

 

I'm by any means not a coder (just had to put that out).

 

So I did a Site Audit scan of my shop using Semrush for the first time yesterday, and it says the following about my blog posts:

"The property pubdate is not recognized by Schema.org vocabulary."

 

By inspecting in chrome, I can see that pubdate is located like this in the html:

<span class="circle-divider caption-with-letter-spacing" itemprop="dateCreated pubdate datePublished"><time datetime="2022-07-12T07:29:22Z">July 12, 2022</time></span>

I tried to google a bit, and it seems like I might just have to delete the pubdate and only include: itemprop="datePublished"

 

But I can't find this in the themes code (using Dawn). 

 

If I'm on the right track, I would really appreciate if someone could help me out on how to change the "itemprop". If not, what should I do otherwise? Seems like a kinda unnecessary problem since there aren't many customization possibilities for the blog. 

 

Might also be worth to mention that I can't fix this by editing the posts HTML from the admin blog panel.

Accepted Solution (1)

NomadDesigns
Shopify Partner
10 2 3

This is an accepted solution.

Hey, I had this pop up today as well. If you look in the Theme Code > Sections > main-article.liquid you should see the bit you need to update on around line 39 and just remove the pubdate.  

 

That said, always download the theme code before you start so you have a backup in case anything goes wrong 😉 

View solution in original post

Replies 6 (6)

NomadDesigns
Shopify Partner
10 2 3

This is an accepted solution.

Hey, I had this pop up today as well. If you look in the Theme Code > Sections > main-article.liquid you should see the bit you need to update on around line 39 and just remove the pubdate.  

 

That said, always download the theme code before you start so you have a backup in case anything goes wrong 😉 

nchantu
Excursionist
17 1 8

Got it! Thanks Patrick 😃

MM32
Visitor
1 0 0

Hello,

 

I had the same issue and this solution also worked for me.

 

Thank you...

NachoBCN12
Excursionist
35 1 6

HI! I have the same issue, and I found on line number 57 this:

<span class="circle-divider caption-with-letter-spacing" itemprop="dateCreated pubdate datePublished">

So should I remove all the span class? or just de pubdate? Thank you very much

whiteflakes_
Tourist
7 0 0

Is there an answer to this question? I have the same problem. Pls help 

 

whiteflakes_
Tourist
7 0 0

I got it. It´s just the word "pubdate"