accdocsol
Forum Replies Created
-
Further to what Prasant has said above, disabling the “Load JavaScript Deferred” option in my cache/optimizing plugin solved the issue for me.
Hope that helps.
same issue.
Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..@beatstorex: sorry I am not familiar with that.
Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..@beatstorex: I added the following snippet and the hEntry errors disappeared. You may have to wait a while until search console records the changes.
function ja_remove_hentry( $class ) {
$class = array_diff( $class, array( ‘hentry’ ) );
return $class;
}
add_filter( ‘post_class’, ‘ja_remove_hentry’ );Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..they are hEntry errors
I think you can remove the code so that your site does not output hEntry
theres a code snippet for that…
Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..I understand.
I also noticed that the SDTT gives me @id errors in my article, blogpost and BreadcrumbList elements, but these errors do not appear in my structured data in search console…
so for now I just ignore it.
Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..put a # after the URL value for @id
FYI, I found a discussion on another site that said:
“If the page itself is the mainentityofpage, the @id (URL) of the page is always marked with error now (not before). To avoid this error, add a “#” after the @id (URL).”
I added an anchor to the end of the URL in the structured data testing tool and re-validated and it solved the error.
Not sure how to make the plugin do that automatically.
Great plugin btw. I tried a few Schema plugins and this one is by far my favorite.
I am getting this same error on my BlogPosting, Article and BreadcrumbList.
It appears to be coming from the “@id”: “http:/website.com/post-name/”
error says:
is not a known valid target type for the identifier property.Forum: Plugins
In reply to: [Schema] An error for mainEntityOfPage..I am getting the same error….