Merge pull request #53 from willscott-v2/fix/seo-audit-schema-detection-warning
Real bug fix — web_fetch strips JSON-LD schema, affecting audit accuracy.
This commit is contained in:
commit
a71f31c51e
1 changed files with 16 additions and 1 deletions
|
|
@ -34,6 +34,19 @@ Before auditing, understand:
|
||||||
|
|
||||||
## Audit Framework
|
## Audit Framework
|
||||||
|
|
||||||
|
### ⚠️ Important: Schema Markup Detection Limitation
|
||||||
|
|
||||||
|
**`web_fetch` and `curl` cannot reliably detect structured data / schema markup.**
|
||||||
|
|
||||||
|
Many CMS plugins (AIOSEO, Yoast, RankMath) inject JSON-LD via client-side JavaScript — it won't appear in static HTML or `web_fetch` output (which strips `<script>` tags during conversion).
|
||||||
|
|
||||||
|
**To accurately check for schema markup, use one of these methods:**
|
||||||
|
1. **Browser tool** — render the page and run: `document.querySelectorAll('script[type="application/ld+json"]')`
|
||||||
|
2. **Google Rich Results Test** — https://search.google.com/test/rich-results
|
||||||
|
3. **Screaming Frog export** — if the client provides one, use it (SF renders JavaScript)
|
||||||
|
|
||||||
|
**Never report "no schema found" based solely on `web_fetch` or `curl`.** This has led to false audit findings in production.
|
||||||
|
|
||||||
### Priority Order
|
### Priority Order
|
||||||
1. **Crawlability & Indexation** (can Google find and index it?)
|
1. **Crawlability & Indexation** (can Google find and index it?)
|
||||||
2. **Technical Foundations** (is the site fast and functional?)
|
2. **Technical Foundations** (is the site fast and functional?)
|
||||||
|
|
@ -364,10 +377,12 @@ Same format as above
|
||||||
- Google Search Console (essential)
|
- Google Search Console (essential)
|
||||||
- Google PageSpeed Insights
|
- Google PageSpeed Insights
|
||||||
- Bing Webmaster Tools
|
- Bing Webmaster Tools
|
||||||
- Rich Results Test
|
- Rich Results Test (**use this for schema validation — it renders JavaScript**)
|
||||||
- Mobile-Friendly Test
|
- Mobile-Friendly Test
|
||||||
- Schema Validator
|
- Schema Validator
|
||||||
|
|
||||||
|
> **Note on schema detection:** `web_fetch` strips `<script>` tags (including JSON-LD) and cannot detect JS-injected schema. Always use the browser tool, Rich Results Test, or Screaming Frog for schema checks. See the warning at the top of the Audit Framework section.
|
||||||
|
|
||||||
**Paid Tools** (if available)
|
**Paid Tools** (if available)
|
||||||
- Screaming Frog
|
- Screaming Frog
|
||||||
- Ahrefs / Semrush
|
- Ahrefs / Semrush
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue