How to make your Blogger blog Search Engine friendly with Structured Data

Structured data helps search engines in understanding the content of your blog and in turn provides better indexing and ranking in search results.

Google has come up with live structured data testing tool to test whether your website or blog is having structured data. Upon testing I found few errors in my blog hosted on blogger that is showing structured data error concerned with image source (usually picasa for blogger blogs) that is image_url , postId and blogId as not recognized as part of the schema. But these errors can be rectified by editing blogger template and making your blogger blog compatible with Structured Data.

Errors showing up in Structured test data tool marked in red, image_url error has been rectified

In blogger, template can be edited by accessing it as follows: Template -> Edit HTML -> Edit Template.

1. Image_url error
It can be rectified by editing your template. In blogger usually images are uploaded in picasa and being used in blogs. Search for word ‘image_url’ using Ctrl + F in template HTML code if in case you are not able to find it then expand the template as sown, then you can search. Replace ‘image_url’ with ‘image’ and save the template. This rectifies ‘image_url’ error being appeared in structured data testing tool.

Expand Template and search for keywords

search for 'image_url'

'image_url' is replaced with 'image'

2. posteId error and blogId error:
It can be rectified by same way editing blogger template. Search for <meta expr:content='data:blog.blogId' itemprop='blogId'/> and <meta expr:content='data:post.id' itemprop='postId'/>. Those two lines will be together (don't confuse with and in between), select the lines and DELTE it. Save the template, this rectifies blogId and postId error and it will be not recognized as part of schema error. 

Then again test for possible structured data error using Google structured data testing tool, you can find that error are rectified.

Errors are rectified with indication in green color


0 comments:

Post a Comment