Closed
Description
Bug Description
In a recent support topic, we found out that BreadCrumbList schema (RDFa) doesn't allow rel="amphtml"
attributes and marks structured data as invalid, As per discussion on slack Weston suggested we don't need it.
Example HTML Snippet :
<div class="breadcrumb" typeof="BreadcrumbList" vocab="https://schema.org/">
<span property="itemListElement" typeof="ListItem">
<a property="item" typeof="WebPage" title="Go to Visitor Guard®." href="https://www.example.com?amp" class="home" rel="amphtml">
<span property="name">
Home
</span>
</a>
<meta property="position" content="1">
</span>
<span class="post post-page current-item">
The Page Title
</span>
</div>
Tests :
Expected Behaviour
The page links should be served without "rel="amphtml"
attributes.
Steps to reproduce
- Install and activate BreadCrumb Navxt Plugin
- Add Breadcrumb to your site
- Check the Structured Data on https://search.google.com/test/rich-results
- See error
Additional context
- WordPress version: 5.8.1
- Plugin version: 2.1.4
- Gutenberg plugin version (if applicable):
- AMP plugin template mode: Transional Mode / Reader Mode
- PHP version: 7.4
- OS: Mac
- Browser: chrome, safari
- Device: Macbook Air
Do not alter or remove anything below. The following sections will be managed by moderators only.