Blog is not a known valid target type for the mainContentOfPage property.
I have tried many optins to set mainContentOfPage
property on http://www.thecreativedev.com
I have
<div itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog"> --> This is outside the loop
<div itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost"> --> This is in loop
But no solution worked. I tried solution provided on Best way to markup “mainContentOfPage”?
Anyone can help me in this?
I suspect that you donât want to use the
mainContentOfPage
property. Itâs not really useful for the average webpage, because it expects aWebPageElement
as value (which represents things like the navigation, the footer or the sidebar), not what is actually the main content of a page (like a blog post).If you want to denote that the
Blog
is the primary thing theWebPage
is about (e.g., on the blogâs homepage), you might want to use themainEntity
property (and for the other direction, the inverse propertymainEntityOfPage
).It could look like this (using Microdata):