Google has recently announced rich result tool and it is in beta testing! When you test your blog link through the rich result tool it shows errors, and it also reflects in search console too. Rich results are experiences on Google surfaces, such as Search, that go beyond the standard blue link. Rich results can include carousels, images or other non-textual elements. You can check your blog link through this below tool.
Check Here : - https://search.google.com/test/rich-results
We have previously shared the similar tutorial for breadcrumbs, since breadcrumbs are located in post pages, so it will fix the issue in post pages and now your post pages are totally error free in this tool. But you have t remember one thing this post page trick only work if your blog has breadcrumb. Now lets move ahead and see how to fix the issue on homepage.
Finding and adding the code.
Now this is a crucial step and you need to carefully do this, otherwise, you won't be able to fix the issue and your template will not save. You need to find this code and replace it with below code. so we will change it with original code for proper markup validation. In the template, search for the code <head> Once you will find the code, just place this code below it.
If you don't know how to find specific code, then follow this tutorial.
<b:if cond='data:view.isHomepage'>
<script type='application/ld+json'>{"@context":"http://schema.org","@type":"WebSite","name":"<data:view.title.escaped/>","url":"<data:view.url.canonical/>","potentialAction":{"@type":"SearchAction","target":"<data:view.url.canonical/>search?q={search_term_string}","query-input":"required name=search_term_string"}}</script>
</b:if>
0 Comments