12/27/2018

SDTT Testing best practice

In this post we are using schema markup  for testing stage. Hope you get it well otherwise ask question. We you want to make up a page you must be careful to avoid stack errors . Just follow this page as it has all the elements os schema markup.

Table Of Contents

Publisher Value
How to Fix
HTML Code markup
Schema Problem

Publisher Value

How to remove publisher A value for  publisher field is required during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.
The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to Fix

How to fix publisher A value for  publisher field is required.
1. Login to blogger.
2. Go to blog Theme.
3. BackUp or download your blog Theme.
4. Click or select Edit HTML.
5. Press on your PC Crtl + F
6. Paste the following code in the search box that will appear and hit enter to find it.                                                    <data:post.body/>

Just below the code found in the above step paste following code:


HTML Code markup

<div itemprop='publisher' itemscope='itemscope' Error! Hyperlink reference not valid.>
<div itemprop='logo' itemscope='itemscope' Error! Hyperlink reference not valid.>
<img style='display:none;' Error! Hyperlink reference not valid.>
<meta itemprop='url' Error! Hyperlink reference not valid.>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>

Note: <data:post.body/>  may appear twice make sure the paste the above code in both of them.
Save and go to Google Structure Data Tool test and see that  publisher A value for  publisher field is required is gone.
Change www.url.com to your domain or blogspot name.


Schema Problem

10 Common Schema Problems and How to Fix Them
We recently talked about rich snippets, aka structured data or schema.org, and how implementing them can benefit your website by attracting more visits.
Google’s documentation on how it uses schema has significantly improved over the years, but it still leaves many searching in the murky waters of micro-data for solid answers to some very common questions.
 -->

12/25/2018

The mainEntityOfPage field is recommended. Please provide a value if available.

The mainEntityOfPage field is recommended. Please provide a value if available.


How to remove The mainEntityOfPage field is recommended. Please provide a value if available. during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to fix The mainEntityOfPage field is recommended. Please provide a value if available.

1.     Login to blogger.


2.     Go to blog Theme.

3.     Back Up or download your blog Theme.

4.     Click or select Edit HTML.

5.     Press on your PC Crtl + F

6.     Search for Code 1 and Code 2 below and replace them with Code 3. 

Code 1. <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

Code 2 <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

Code 3.<meta itemscope='itemscope' itemprop='mainEntityOfPage'  itemType='https://schema.org/WebPage' expr:itemid='data:post.link ? data:post.link : data:post.url'/>

If you followed the instruction The mainEntityOfPage field is recommended. Please provide a value if available error is corrected.

See other SDTT schema markup errors solutions

How to fix a value for the datePublished feild is required

How to fix a value for the publisher field is required

How to fix a value for the image field is required

How to fix a value for the headline is required

How to fix the dateModifield is recommended, please provide a value if available.

How to remove the headline is recommended, please provide a value if available

image A value for image field is required

Image A value for image field is required

How to remove image A value for  publisher field is required during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to fix image A value for  publisher field is required.

1.     Login to blogger.
2.     Go to blog Theme.
3.     BackUp or download your blog Theme.
4.     Click or select Edit HTML.


5.     Press on your PC Crtl + F.
6.     Search for the below code 

This is optional 
<div itemprop='image' itemscope itemtype='http://schema.org/ImageObject' 
then and schema markup 
id="example-image"></div>

Also search for 
<div itemscope itemtype="http://schema.org/businessname"
then add schema markup 
itemref="business-image"></div>


 After image value markup, the code will look like this

<div itemprop='image' itemscope itemtype='http://schema.org/ImageObject'  id="example-image"></div>

<div itemscope itemtype="http://schema.org/businessname" itemref="business-image"></div>

I will advice you to finish other markup before this because thise is optional unless you are working with Google AMP standard. If you get everything right image A value for image field is required will disappear.

See other SDTT schema markup errors solutions

How to fix a value for the datePublished feild is required

How to fix a value for the publisher field is required

How to fix a value for the headline is required

How to fix the dateModifield is recommended, please provide a value if available.

How to remove the headline is recommended, please provide a value if available


datePublished A value for datePublished field is required


How to remove datePublished  A value for  publisher field is required during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to fix datePublished  A value for  publisher field is required.

1.     Login to blogger.
2.     Go to blog Setting.
3.     Select Language and formatting.
4.     Select and edit Timestamp Format.





5.     Change all the date setting according to picture below.





6.     After changing all the date setting, format and time zone.



Then ensure you look upper right and save your configuration.

Check and see that datePublished A value for publisher field is required error in google structure data is gone.


See other SDTT schema markup errors solutions

How to fix a value for the publisher field is required

How to fix a value for the image field is required

How to fix a value for the headline is required

How to fix the dateModifield is recommended, please provide a value if available.

How to remove the headline is recommended, please provide a value if available


The dateModifield is recommended. Please provide a value if available

The dateModifield is recommended. Please provide a value if available

How to remove The dateModifield is recommended. Please provide a value if available during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling



How to fix The dateModifield is recommended. Please provide a value if available.

1.     Login to blogger.

2.     Go to blog Theme.

3.     BackUp or download your blog Theme.

4.     Click or select Edit HTML.

5.     Press on your PC Crtl + F and find below code.

6.     Paste the following code in the search box that will appear and hit enter to find it.   
                                                 
<div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>

When you see the above code it may appear twice. Make sure you paste the below code under it. It may appear twice, paste the code under both.
<meta expr:content='data:post.timestamp' itemprop='datePublished'/>

<meta expr:content='data:post.lastUpdatedISO8601' itemprop='dateModified'/>

If you have done according to instrucions testing your website url the The dateModifield is recommended. Please provide a value if available errors will disappear..

See other SDTT schema markup errors solutions

How to fix a value for the datePublished feild is required

How to fix a value for the publisher field is required

How to fix a value for the image field is required

How to fix a value for the headline is required
How to remove the headline is recommended, please provide a value if available


headline A value for headline field is required


How to remove headline A value for  publisher field is required during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to fix headline A value for  publisher field is required.

1.     Login to blogger.

2.     Go to blog Theme.

3.     BackUp or download your blog Theme.

4.     Click or select Edit HTML.

5.     Press on your PC Crtl + F

6.     Paste the following code in the search box that will appear and hit enter to find it.  

<h3 class='post-title entry-title' itemprop='name'>



Depending if you have changed the value of your <h before. <h3 can be <h1, <h2 or <h4.

If you locate this code in your HTML blog theme.
Delete or replace name with headline.
After changing the code will look like this

<h3 class='post-title entry-title' itemprop='headline'>

After that save your theme and refresh your blog.
Go back to Structure Data test your blog again and see headline A value for  headline field is required will disappear.

See other SDTT schema markup errors solutions

How to fix a value for the datePublished feild is required

How to fix a value for the publisher field is required

How to fix a value for the image field is required

How to fix the dateModifield is recommended, please provide a value if available.

How to remove the headline is recommended, please provide a value if available


The property image_url not recognized by Google for an object of type BlogPosting

The property image_url not recognized by Google for an object of type BlogPosting


How to remove  image_url not recognized by Google during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.

The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to fix The property image_url not recognized by Google for an object of type BlogPosting

1.     Login to blogger.
2.     Go to blog Theme.
3.     BackUp or download your blog Theme.
4.     Click or select Edit HTML.
5.     Press on your PC Crtl + F

Search for <meta expr:content='data:post.firstimageUrl' itemprop='image_url'/>

If you found the code carefully remove _url.








How to remove HTML code part.

Go to blog theme

Click on the edit HTML.

Press Ctrl and F.

Find the code you want to remove.

Ensure you backup your entire blog theme in case of mistake.

Look for the code you want to remove.

Remove the code and save your blog template.

Ensue your test your working blog condition otherwise reload your blog theme.


See other SDTT schema markup errors solutions

How to fix a value for the datePublished feild is required

How to fix a value for the publisher field is required

How to fix a value for the image field is required

How to fix a value for the headline is required

How to fix the dateModifield is recommended, please provide a value if available.

How to remove the headline is recommended, please provide a value if available

How to remove the image is recommended, please provide a value if available

How to fix the mainEntityOfPage is recommended, please provide a value if available

The property blogid is not recognized by google for an object of type BlogPosting solution

The property postid is not recognized by google for an object of type BlogPosting solution.