Creating Valid XML Sitemaps, Tag Priorities, and Homepage Link Extraction
Publishing forty new documentation pages or launching a clean static domain often stalls at the same bottleneck: internal navigation links only point to a handful of flagship categories, leaving deep guides waiting weeks for discovery. Uploading an invalid sitemap.xml containing raw unescaped query ampersands or redirect URLs fails in the opposite direction, triggering parser errors in Search Console. Building standards compliant XML sitemaps hands search engines one canonical index of URLs you actually want crawled.
Unlike visual HTML site maps built for human visitors in page footers, an XML sitemap uses the strict Sitemaps 0.9 schema written strictly for search engine crawlers. Manual path building, XML formatting, syntax coloring, entity escaping, and size limit warnings run completely locally inside your browser tab.
Manual Path Building Versus Homepage Link Extraction
You can populate the Pages List table using either workflow depending on how your site renders links:
- Adding routes offline via Add Path: Type individual slugs like
about-usorpricingand hit Enter or click Add Path. Relative paths normalize cleanly with a leading slash, default to priority0.8and weekly change frequency, and never touch external networks. - Using Extract Links on a live homepage: Because browsers restrict cross origin HTML fetches directly, clicking Extract Links sends only your Base Domain homepage URL through a public CORS proxy (
api.allorigins.win, timed cleanly at 12 seconds) to scan server rendered<a href="...">tags on the same origin. It strips anchor fragments,mailto:links, and duplicate trailing slashes automatically. Keep in mind two real limits: websites guarded by strict bot challenges block proxy fetches, and pure client rendered JavaScript SPAs return empty link lists before JS runs, so use Add Path whenever extraction comes up short.
Which XML Tags Search Engines Actually Read Today
Every generated block uses standard <url> tags inside the UTF-8 <urlset> wrapper, yet modern search engines weigh those fields very differently than guides written fifteen years ago:
| XML Element | What It Declares | Modern Search Crawler Reality |
|---|---|---|
| <loc> | Canonical absolute URL | Required; escaped cleanly for XML (& becomes &) |
| <lastmod> | YYYY-MM-DD last meaningful update |
Honored by Google when consistently accurate rather than bumped blindly on every build |
| <changefreq> | Expected edit cadence (weekly, etc.) |
Ignored by Google; set Set All: Omit if you prefer lean XML output |
| <priority> | Internal relative hint (0.1 to 1.0) |
Ignored by Google and carries zero weight against competing websites |
Notice that control directly inside our editor: selecting Omit inside the global or row frequency menu drops <changefreq> tags cleanly, and switching Include <lastmod> Tag (Today) off strips today's date stamp whenever pages have not truly changed. Keeping <lastmod> honest builds trust so Search Console crawlers actually revisit URLs right after real content edits. You can also batch update every active URL at once via the Set All: Priority and Frequency controls above the table, prune stray routes using each row's delete button, or edit Base Domain to retarget every relative path onto a live https://www. host without retyping a single row.
Example XML Sitemap Structure
Base Domain: https://www.example.com
Include lastmod: Checked (2026-11-27)
1. / Priority: 1.0 Freq: Weekly
2. /pricing Priority: 0.8 Freq: Monthly
3. /item?cat=2&id=9 Priority: 0.6 Freq: Omit
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.example.com/</loc>
<lastmod>2026-11-27</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://www.example.com/pricing</loc>
<lastmod>2026-11-27</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.example.com/item?cat=2&id=9</loc>
<lastmod>2026-11-27</lastmod>
<priority>0.6</priority>
</url>
</urlset>
Advertisement
Protocol Limits, Trailing Slashes, and Common Sitemap Bugs
Before downloading sitemap.xml and submitting it to Google Search Console or Bing Webmaster Tools, verify four rules that routinely trigger sitemap errors:
- Exact host and protocol matching: Every URL inside
https://www.example.com/sitemap.xmlmust use the exact matching host and HTTPS scheme (never mixhttp://, mismatched apex links, or separate subdomains in the same file unless separately verified). Remember too that homepage extraction drops trailing slashes on non root paths; if your server serves pages with mandatory trailing slashes or.htmlsuffixes, make sure each listed route resolves directly with HTTP200 OKinstead of a301bounce. Verify questionable links first in our Redirect Checker. - Never include
noindexor blocked URLs: Putting anoindexthank you page or a route blocked byrobots.txtinsidesitemap.xmlsends contradictory signals in Search Console coverage reports. Keep sitemaps strictly limited to clean indexable pages. - Automatic XML character escaping: Sitemaps strictly require valid XML entities. Whenever a path includes query parameters with ampersands (like
/item?cat=2&sort=asc), our generator escapes characters automatically so unencoded symbols never break XML validators. - Single file scale limits and logical splitting: Each individual sitemap tops out at
50,000URLs and50MB uncompressed UTF-8 text. Crossing either boundary raises an automatic warning below the editor so you know when to split feeds under a parent<sitemapindex>file. Even mid size sites often split sitemaps by section (for instance separate product and blog feeds, supporting up to500index entries per site) because Search Console reports coverage metrics per submitted sitemap file.
Publishing Your Sitemap and Pairing With Robots.txt
Once your preview matches your live site structure, click Save XML to download lowercase sitemap.xml and place it directly in your domain root (https://yourdomain.com/sitemap.xml), verifying that your web server delivers it with HTTP 200 OK and an XML content type such as application/xml rather than an HTML error page. Submit that URL inside Google Search Console and Bing Webmaster Tools whenever you add fresh pages or delete retired URLs so stale deleted routes do not keep lingering as soft 404 reports. Keep in mind that XML sitemaps complement rather than replace internal navigation links: pages completely orphaned from HTML menus may be discovered via XML yet still receive weak internal link equity unless linked from real categories or hubs. Because sitemap.xml tells crawlers where pages live while robots.txt governs where crawlers stay out, reference your full absolute sitemap URL inside robots.txt using our Robots.txt Generator. For inspecting or formatting larger multi line XML feeds downloaded elsewhere, switch over to the XML Formatter.