Schema.org lexical unrecognized attribute pubdate

Schema.org lexical unrecognized attribute pubdate

newsendy_alc
Tourist
9 0 3

I am checking the website issue through semrush and found that it suggests that the structured data does not recognize the publish time, but I have set to show the publish time, is it a system reason?

newsendy_alc_0-1718785343453.pngnewsendy_alc_1-1718785378881.png

 

Reply 1 (1)

KieranR
Shopify Partner
401 34 123

Same error over here: 
Solved: Blog post SEO error "The property pubdate is not recognized by Schema.org vocabulary." - Sho...

 

To fix the Semrush error you could remove the underlined text from the theme template. Will likely be found in a blog article liquid file in theme code editor. 

KieranR_0-1718851318947.png

 

The reason this happens is what it says pubdate isn't recognised by Schema or Google so irrelevant. But you do have datePublished so the info is there and works fine. 

 

A cleaner fix might be to remove ALL the legacy Microdata format schema and instead leave the JSON-LD schema intact. You currently have both. Microdata is legacy, and it's a bit of a double up having both, but not a huge issue, but if someone is editing the code might as well remove it. Usually takes a dev about 30mins for a dev to comb through theme files to clean out Microdata.

Part time Shopify SEO, based in NZ. Sometimes freelance outside the 9-5.