XML sitemap audit and fix plan
Audit your XML sitemap for non-indexable URLs, redirects, missing pages and bad lastmod dates, and get a clear plan to fix it.
- Published
- Works with
- ChatGPT, Claude and Gemini
- Level
- Advanced
An XML sitemap full of redirects, noindexed pages and 404s sends search engines mixed signals, while important pages left out may get crawled less often. This XML sitemap audit prompt compares your sitemap with crawl and index data, sorts every problem by impact and gives you rules for a clean sitemap that stays clean as the site grows.
The prompt
Act as a technical SEO specialist. Audit my XML sitemap.
Site:
Sitemap structure:
Sitemap URLs sample or stats:
Crawl data for those URLs:
Search Console data:
Important pages I know are missing:
Do this:
1. List problems found: non-200 URLs, redirects, noindexed or canonicalised URLs, duplicates (http/https, trailing slash, parameters), URLs blocked by robots.txt, missing important pages, inaccurate lastmod, files over size limits.
2. A table: issue, number of URLs, example, impact (high/medium/low), fix.
3. Rules for what should and shouldn't be in each sitemap for my site type.
4. Settings or code changes for my CMS to apply those rules automatically.
5. A monitoring checklist to run monthly.
Base findings only on the data I gave; say what extra data would help.
How to use it
- Crawl the sitemap URLs with an SEO crawler and export status, indexability and canonical.
- Add Search Console's page indexing report so the audit sees what Google did with them.
- Fix generation rules, not just individual URLs, so problems don't return.
Tips
- Only canonical, indexable, 200-status URLs belong in a sitemap.
- Check the search engines' official documentation for current sitemap size limits.
Frequently asked questions
What does this prompt do?
Audit your XML sitemap for non-indexable URLs, redirects, missing pages and bad lastmod dates, and get a clear plan to fix it.
Which AI tools does it work with?
It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.
What do I need to fill in?
6 blanks: domain, cms, approx number of pages; e.g. sitemap index with posts/pages/products sitemaps, how it's generated; paste urls or counts by sitemap; status code, indexable y/n, canonical, noindex — from a crawler export; submitted vs indexed, "not indexed" reasons; if any. Click each blue blank on the page, type your details and press Copy prompt.
Is this prompt free to use?
Yes. You can copy and use it for personal and commercial work.