Sub topic 13
Common Pitfalls and What No Technique Guarantees
This chapter assumes you have read the earlier chapters on answer-first structure, self-contained passages, semantic HTML, structured data and crawler access. It covers the mistakes that most often undo that work, and it states plainly what no technique can promise. You should finish it able to audit a page for these failures and to describe the limits of your work honestly to a team or client.
The core limit: you influence retrieval, you do not control it
AI answer systems retrieve passages, rank them, and then a model writes an answer. You control only the first input: the quality and accessibility of your passages. You do not control which sources the system searches, how it ranks them, how the model paraphrases, or whether the answer shows a citation at all.
Several things sit outside your reach:
- The ranking and selection logic. It differs between products and changes without notice.
- The model's choice to answer without any source. Some questions are answered from the model's training, with no retrieval.
- Personalisation and context. Two users asking the same question can get different sources.
- Variation between runs. The same question asked twice can cite different pages.
A good working position is this: make each passage easy to find, easy to lift out, and easy to trust, then measure and revise.
Pitfalls in how you write
Burying the answer
The most common failure is the one the tutorial opened with: the answer arrives after several sentences of background. A chunk that starts with "Caching has been used in computing for decades" tells a retrieval system nothing about the question. Check the first two sentences under every heading. If they could be deleted without losing the answer, the answer is buried.
Passages that depend on context
A passage is often lifted out alone. These phrases break when that happens:
- "As mentioned above..."
- "This approach..." with no noun naming the approach
- "It" or "they" as the first word of a section, with the referent in the previous section
- "See the table below" when the table is not part of the same chunk
Rewrite so the passage names its subject. Compare these two:
Weak:
## Limits
It also has a cap, as noted earlier. This applies to the second tier only.
Better:
## What is the rate limit for the Search API?
The Search API allows 100 requests per minute per API key on the Standard plan. Requests above that limit return HTTP 429.The better version states the subject, the number and the condition. Someone reading only this passage can still use it.
Vague claims and filler
Sentences such as "performance is typically quite good" give a model nothing it can safely repeat. Replace them with a number, a condition, or a definition. If you do not know the number, say what you do know, or leave the claim out. Inventing precision is worse than vagueness, because a wrong figure that gets quoted is attributed to you.
Keyword stuffing and repetition
Repeating the target phrase many times does not help passage retrieval and makes the text worse to read. Use the term once in the heading, once in the definition, and then write naturally. Questions can be phrased in many ways, and natural variation in wording covers more of them than repetition does.
Question headings with no real answer
A heading such as "What is the best database?" followed by a vague survey wastes the structure. Question-led headings only work when the first sentences give a direct answer. If the honest answer is "it depends", say what it depends on, in the first two sentences.
## Which database should I use for a small blog?
Use SQLite or a managed PostgreSQL instance. SQLite suits a single-server blog with low write traffic, and PostgreSQL suits a site that may grow to several servers.Pitfalls in structure and markup
Structured data that disagrees with the page
JSON-LD must describe what a visitor can see. If your FAQPage markup contains a question and answer that appear nowhere in the visible text, search engines may ignore the markup, and it breaks the guidelines of some of them. It is also not a lever for citation. It is a hint about page content.
A quick audit compares the markup to the page:
import json
import re
import sys
from html import unescape
def visible_text(html: str) -> str:
"""Strip scripts, styles and tags, leaving approximate visible text."""
html = re.sub(r"(?is)<(script|style).*?</\1>", " ", html)
html = re.sub(r"(?s)<[^>]+>", " ", html)
return " ".join(unescape(html).split()).lower()
def faq_answers(html: str):
"""Yield the answer text from every FAQPage JSON-LD block."""
pattern = r'(?is)<script[^>]*application/ld\+json[^>]*>(.*?)</script>'
for block in re.findall(pattern, html):
data = json.loads(block)
if data.get("@type") != "FAQPage":
continue
for item in data.get("mainEntity", []):
yield " ".join(item["acceptedAnswer"]["text"].split())
if __name__ == "__main__":
page = open(sys.argv[1], encoding="utf-8").read()
text = visible_text(page)
for answer in faq_answers(page):
status = "ok" if answer.lower() in text else "MISSING FROM PAGE"
print(f"{status}: {answer[:70]}")Run it with python check_faq.py page.html. It reports any marked-up answer that does not appear verbatim in the visible text. It is a simple check, so a reworded but faithful answer shows as missing and needs a manual look.
Content that only exists after JavaScript runs
Some crawlers fetch the HTML and do not run scripts. If your answer text is injected by client-side JavaScript, or sits in tabs and accordions that load on click, those crawlers may see an empty container. Check by fetching the page without a browser and searching for a key sentence:
curl -s https://example.com/docs/rate-limits | grep -c "100 requests per minute"A count of 0 means the sentence is not in the raw HTML.
Layout tricks that fragment passages
- Using headings for visual size rather than hierarchy, which produces chunks with no clear topic.
- Splitting one answer across several short sections, so no single chunk holds the whole answer.
- Putting key facts in images, such as a screenshot of a table. Text in an image is not reliably available to retrieval.
- Using
<div>and<span>where a<table>or<ol>fits, which hides the structure.
Pitfalls in access
A single wrong line in robots.txt can undo everything else. Common errors:
- A blanket
Disallow: /left from staging. This blocks every crawler that obeys the file. - Blocking a training crawler and assuming search is blocked too, or the reverse. Vendors often use separate tokens for training and for search or user-requested fetching. Read each vendor's current documentation, because names and behaviour change.
- Rules that do not match the intent.
Disallow: /privatealso blocks/private-notes, because matching is by prefix. - Content behind a login, a cookie wall or aggressive bot protection. A crawler you allowed in
robots.txtcan still be refused by your firewall or CDN.
The robots.txt file is also a request, not an enforcement mechanism. Well-behaved crawlers follow it. Others may not.
You can test your rules with Python's standard library:
from urllib.robotparser import RobotFileParser
rp = RobotFileParser()
rp.set_url("https://example.com/robots.txt")
rp.read()
for agent in ["OAI-SearchBot", "GPTBot", "PerplexityBot", "ClaudeBot"]:
allowed = rp.can_fetch(agent, "https://example.com/docs/rate-limits")
print(f"{agent}: {'allowed' if allowed else 'blocked'}")This shows what the file says. It does not show whether your server actually serves the page to that crawler, so also check your server logs.
Pitfalls in measurement and upkeep
Drawing conclusions from one query
Because answers vary between runs, one test proves little. Ask each target question several times, on more than one product, and record the results. Look at the pattern across a set of questions rather than at a single success or failure.
Confusing correlation with cause
If a page starts being cited after a rewrite, the rewrite may not be the reason. The system's index, its ranking, or the competing pages may have changed in the same week. Change one thing at a time when you can, and keep dated notes.
Letting content go stale
A precise claim is a liability when it becomes wrong. An outdated limit, price or version number that is quoted by an assistant reflects on you. Put a visible "last reviewed" date on pages with time-sensitive facts, and review them on a schedule. Update the date only when you have actually checked the content.
Optimising for quotation at the expense of readers
A page written only for machines tends to be thin, repetitive and dull. People still read your pages, and many AI answers include a link only when the user wants to dig deeper. Answer-first writing helps both audiences, but if a change makes the page worse for a human reader, reconsider it.
A pitfall audit
Use this table as a review checklist for any page.
| Check | What a failure looks like | Fix |
|---|---|---|
| First two sentences | Background before the answer | Move the conclusion up |
| Heading | Vague label such as "Overview" | Name the question or topic |
| Passage alone | Starts with "it" or "as above" | Name the subject |
| Claims | No number, condition or source | Add them or cut the claim |
| Markup | JSON-LD text missing from page | Match markup to visible text |
| Raw HTML | Answer not present without scripts | Render server-side |
| robots.txt | Intended crawler blocked | Correct the rules, check logs |
| Dates | Old facts, no review date | Review and date |
The flow below shows where failures occur between your page and a quoted answer.
The first three failure points are yours to fix. The last two are not.
Setting honest expectations
When you report on this work, avoid promises. Say what you changed, what you measured, and what you cannot know. A sound summary reads like this: "We rewrote 20 pages to answer first, confirmed that crawlers can fetch them, and tested 30 target questions weekly. Citations appeared for 9 of the questions in the last round, up from 4, and results vary between runs."
Exercise
A page has the heading "Pricing overview". Its first paragraph reads: "As discussed earlier, it varies by plan, and many teams find the cost reasonable." The FAQ JSON-LD on the page includes the answer "The Pro plan costs 20 dollars per user per month", but that sentence appears nowhere in the visible text. List the problems and rewrite the opening.
Show answer
Problems: the heading is vague, the first sentence depends on earlier context ("as discussed earlier", "it"), the claim is vague with no number, and the JSON-LD answer does not appear in the visible text. Rewrite, for example: heading "How much does the Pro plan cost?" with the opening "The Pro plan costs 20 dollars per user per month, billed monthly. The Free plan has no charge and limits each workspace to three users." Then make sure the same price text is visible on the page so the JSON-LD matches it, and add a review date if the price may change.
Exercise
Your target page is cited in one test of a question but not in the next three. A colleague says the rewrite failed. What should you do before deciding?
Show answer
Run each target question many times across more than one product and record the results, because answers vary between runs. Check that crawlers can still reach the page and that the text is in the raw HTML. Then compare results over time, ideally changing one thing at a time. One result in four does not show that the rewrite failed or worked.