How to fix Blog post Breadcrum schema Error ?

SEO Help and Tips

How to fix Blog post Breadcrum schema Error ?

Breadcrum schema Error block the index on google by creating many issues. Here is the corrected Breadcrumb schema example code. You have need to replace with your exisiting code.

  <!-- Post Breadcrumbs -->
<script type='application/ld+json'>
    {
      "@context": "https://schema.org",
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "item": {
            "name": "<data:messages.home/>",
            "@id": "<data:blog.homepageUrl.jsonEscaped/>"
          }
        },
        {
          "@type": "ListItem",
          "position": 2,
          "item": {
            "name": "<b:if cond='data:post.labels'><data:post.labels.first.name/></b:if>",
            "@id": "<data:post.labels.first.url.jsonEscaped/>"
          }
        },
        {
          "@type": "ListItem",
          "position": 3,
          "item": {
            "name": "<data:post.title/>",
            "@id": "<data:post.url.jsonEscaped/>"
          }
        }
      ]
    }
  });
</script>

<script>
  document.addEventListener('DOMContentLoaded', function() {
    // Your JavaScript code goes here
  });
</script>

Comments

Popular posts from this blog

How to fix SSL Certificate Issues?

How to Fix Website Mixed Content Issues?

How to Fix Mobile Responsiveness Issues?

Popular posts from this blog

How to fix SSL Certificate Issues?

How to Fix Website Mixed Content Issues?

How to Fix Mobile Responsiveness Issues?