Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Invalid value in itemtype

Solved by Karmalakas View solution

Started by Stanislav 2 years ago · 4 replies · 497 views
2 years ago

Good afternoon. I received such a warning in the search-console.
Using the Editorial theme

Invalid value in "itemtype" field
Items with these problems cannot appear as Google advanced search results.

Affected pages:
www.meizer.kz/ru/submeny/kukhni
www.meizer.kz/ru/submeny/ofisnaya
www.meizer.kz/ru/submeny/vannaya

<div class="gallery_container col-4 col-6-medium col-12-small" itemprop="associatedMedia" itemscope itemtype="MediaObject">

I will be grateful for any help

2 years ago

Hi @RobotWerter, I can't see the warning you're referring to in Chrome's inspector. How can I see that warning?

2 years ago

I just noticed below validator shows some uncategorized errors. You can fix those by changing (in all places):

TXT
itemscope itemtype="MediaObject"

to:

TXT
itemscope itemtype="http://schema.org/MediaObject"
👍 2
2 years ago

@Karmalakas:
https://validator.schema.org

Thanks @Karmalakas, this is the final solution. I'll fix the item template in Editorial theme as soon as possible.

👍 2

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by MarkP, 2 weeks ago
3 193 2 weeks ago
Themes & Styling · by TomW, 2 weeks ago
0 111 2 weeks ago
Themes & Styling · by themetman, 3 weeks ago
1 206 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 324 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1523 3 weeks ago