Sub topic 14
Sitemaps, IndexNow, and Keeping the Index Current
This chapter assumes you understand basic web crawling, HTTP requests, and the difference between a web page and a search index. It focuses on freshness: how to help search systems discover new or changed URLs sooner.
Why freshness matters
An answer engine can cite only content that its retrieval systems can find. A page may be well written and accessible but still be absent from an answer if the engine has an old copy or does not know the URL exists.
A sitemap is an XML file that lists important URLs on a site. It gives crawlers a structured discovery path. A sitemap can also include metadata such as the date a page was last modified.
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/guide</loc>
<lastmod>2026-06-01</lastmod>
</url>
<url>
<loc>https://www.example.com/api-reference</loc>
<lastmod>2026-05-28</lastmod>
</url>
</urlset>Publish the sitemap at a stable URL, such as /sitemap.xml. Reference it from robots.txt:
Sitemap: https://www.example.com/sitemap.xmlYou can also submit it through the webmaster tools provided by individual search engines.
`lastmod` must describe a real change
The lastmod value is a hint, not a command. Set it when the page's meaningful content changes. Do not update every URL on every deployment. Artificial dates make freshness signals less useful and may cause crawlers to distrust the file.
A page's modification date should describe the page content, not changes to unrelated assets such as a CSS bundle. Keep URLs canonical, use HTTPS consistently, and include only pages that you want indexed. Exclude redirects, error pages, duplicate URL variants, and private pages.
How IndexNow fits
IndexNow is a notification protocol. When a participating search engine receives a notification, it learns that a URL has been added, changed, or deleted. The notification does not force indexing, ranking, or citation.
A typical request uses a verification key hosted on the same site:
curl -X POST "https://api.indexnow.org/indexnow" \
-H "Content-Type: application/json; charset=utf-8" \
-d '{
"host": "www.example.com",
"key": "your-indexnow-key",
"keyLocation": "https://www.example.com/your-indexnow-key.txt",
"urlList": [
"https://www.example.com/guide"
]
}'Send notifications after meaningful publishing events. Batch related URLs when supported, and retry temporary failures with backoff. Keep the sitemap as the durable inventory. Use IndexNow as a faster change signal.
What these signals cannot do
Sitemaps and IndexNow do not guarantee a crawl. They do not override access restrictions, canonicalization decisions, quality systems, or ranking. IndexNow also does not notify every answer engine. ChatGPT Search, Perplexity, and Copilot may use different indexes, crawlers, or user-initiated fetches.
Track the result rather than assuming success. Compare publication times with server-log requests, index coverage reports, and referral traffic. A fast fetch is evidence of discovery, not proof that the page will appear as a cited source.
> callout note > Use honest lastmod values, stable canonical URLs, and both discovery methods when appropriate. Freshness signals improve the chance of timely discovery; they do not purchase inclusion.
Exercise
A documentation page changed today. What should you update, and what result should you avoid promising?
Show answer
Update the page and its honest lastmod value, notify participating IndexNow engines, and keep the sitemap current. Do not promise that any engine will crawl, rank, or cite the page.