How To Fix "Page Not Eligible For Rich Results" In Rich Result Test Tool


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.


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'>{&quot;@context&quot;:&quot;http://schema.org&quot;,&quot;@type&quot;:&quot;WebSite&quot;,&quot;name&quot;:&quot;<data:view.title.escaped/>&quot;,&quot;url&quot;:&quot;<data:view.url.canonical/>&quot;,&quot;potentialAction&quot;:{&quot;@type&quot;:&quot;SearchAction&quot;,&quot;target&quot;:&quot;<data:view.url.canonical/>search?q={search_term_string}&quot;,&quot;query-input&quot;:&quot;required name=search_term_string&quot;}}</script>
      </b:if>

Conclusion

Congrats !! You have made it. now you have learned that How to fix "Page not eligible for rich results" in rich result test tool. Visit your blog and check the code live in action, hope you liked this tutorial, if you enjoyed then please share it with your friends, we are working hard to develop more such awesome widgets please stay tuned with Us.

إرسال تعليق

0 تعليقات