Skip to content
Back to skills

Sitemap Audit

ASecurity

Audit website sitemaps for AEO optimization opportunities. Use when analyzing site structure, checking indexed URLs, planning content migrations, or when user mentions "sitemap", "site structure", "URL audit", "page inventory", or "content migration".

  • 666 stars
  • 0 votes
  • 1 copy
  • 5 views
  • Added September 2, 2026
ai-agentsgonextjs

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill sitemap-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sitemap Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sitemap Audit
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-sitemap-audit/badge)](https://www.skillsdirectory.com/skills/majiayu000-sitemap-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sitemap-audit
description: Audit website sitemaps for AEO optimization opportunities. Use when analyzing site structure, checking indexed URLs, planning content migrations, or when user mentions "sitemap", "site structure", "URL audit", "page inventory", or "content migration".
allowed-tools: Read, Grep, Glob, WebFetch
---

# Sitemap Audit for AEO

This skill provides methodology for auditing website sitemaps to identify AEO optimization opportunities, content gaps, and migration planning.

## Why Sitemaps Matter for AEO

1. **Crawl Discovery** - LLMs/crawlers use sitemaps to find content
2. **Content Inventory** - Reveals what pages exist vs. what's missing
3. **URL Structure** - Poor slugs hurt LLM understanding
4. **Junk Detection** - Test pages, drafts pollute index
5. **Migration Planning** - Required for language/structure changes

## Sitemap Audit Process

### Step 1: Find All Sitemaps

Check these locations:
```
/sitemap.xml
/sitemap_index.xml
/sitemap-index.xml
/wp-sitemap.xml (WordPress default)
/page-sitemap.xml
/post-sitemap.xml
/robots.txt (often lists sitemap URL)
```

### Step 2: Fetch & Parse Each Sitemap

For sitemap index, extract all child sitemaps:
```xml
<sitemap>
  <loc>https://example.com/page-sitemap.xml</loc>
</sitemap>
```

For regular sitemaps, extract all URLs:
```xml
<url>
  <loc>https://example.com/page/</loc>
  <lastmod>2024-01-01</lastmod>
</url>
```

### Step 3: Categorize URLs

| Category | Examples | AEO Priority |
|----------|----------|--------------|
| **Core Pages** | /, /about/, /services/ | πŸ”΄ Critical |
| **Service Pages** | /service-name/ | πŸ”΄ Critical |
| **Comparison Pages** | /vs/competitor/ | πŸ”΄ Critical |
| **Results/Portfolio** | /results/, /case-studies/ | 🟠 High |
| **Blog Posts** | /blog/post-name/ | 🟑 Medium |
| **Category Pages** | /category/name/ | 🟑 Medium |
| **Legal Pages** | /privacy/, /terms/ | βšͺ Low |
| **Junk Pages** | /test/, /draft/, /elementor-123/ | πŸ—‘οΈ Delete |

### Step 4: Identify Issues

**Junk Pages (Delete/Noindex):**
- `/test/`, `/test-page/`, `/test123/`
- `/draft-*`, `/preview-*`
- `/elementor-*`, `/et_pb_*` (page builder artifacts)
- `/page/2/`, `/page/3/` (pagination without content)
- `/?p=123` (parameter URLs)

**Slug Issues:**
- Non-English slugs for international audience
- Overly long slugs
- Keyword-stuffed slugs
- Inconsistent patterns

**Missing Critical Pages:**
- No pricing/investment page
- No comparison pages (`/vs/*`)
- No dedicated founder/expert page
- No FAQ page
- No `llms.txt`

**Stale Content:**
- `lastmod` older than 2 years
- Blog posts from 3+ years ago
- Outdated statistics pages

### Step 5: URL Audit Checklist

For each important URL, check:

- [ ] **Slug is English** (for international brands)
- [ ] **Slug is descriptive** (not `/page-123/`)
- [ ] **Slug matches content** (not misleading)
- [ ] **No duplicate content** (same page, different URLs)
- [ ] **Proper hierarchy** (`/services/service-name/` not `/service-name/`)
- [ ] **Mobile version same URL** (no `/m/` or `m.` versions)

## Migration Planning Template

When changing site structure:

```markdown
## URL Migration Map

### Redirects Required

| Old URL | New URL | Type | Priority |
|---------|---------|------|----------|
| /old-page/ | /new-page/ | 301 | High |

### New Pages to Create

| URL | Purpose | Template |
|-----|---------|----------|
| /vs/competitor/ | Comparison | Use comparison template |

### Pages to Delete

| URL | Reason |
|-----|--------|
| /test/ | Junk |

### Redirect Implementation

For WordPress (.htaccess):
\`\`\`apache
RedirectPermanent /old-page/ /new-page/
\`\`\`

For WordPress (plugin):
- Use Redirection plugin
- Or RankMath/Yoast redirect manager
```

## Multilingual Sitemap Considerations

For translated sites:

1. **Check hreflang** - Each URL should have alternates
2. **Separate sitemaps per language** - `/en/sitemap.xml`, `/nl/sitemap.xml`
3. **Consistent slugs** - `/about/` (EN) ↔ `/over-ons/` (NL) properly linked
4. **No mixed content** - Dutch slug with English content = confusion

## Output Format

```markdown
# Sitemap Audit: [Domain]

## Summary
- **Total URLs:** X
- **Core Pages:** X
- **Blog Posts:** X
- **Junk Pages:** X (to delete)

## Sitemaps Found
- [URL 1] (X URLs)
- [URL 2] (X URLs)

## Issues Found

### πŸ—‘οΈ Junk Pages (Delete)
| URL | Reason |
|-----|--------|
| /test/ | Test page |

### ⚠️ Slug Issues
| URL | Issue | Suggested |
|-----|-------|-----------|
| /haartransplantatie/ | Dutch | /hair-transplant/ |

### ❌ Missing Pages
| Page | Why Needed |
|------|------------|
| /vs/competitor/ | Comparison for AEO |

### πŸ“… Stale Content
| URL | Last Modified |
|-----|---------------|
| /old-post/ | 2020-01-01 |

## Recommendations
1. [Priority action 1]
2. [Priority action 2]
```

## Quick Reference

**Common Sitemap Generators:**
- WordPress: Yoast, RankMath, default wp-sitemap
- Shopify: Auto-generated
- Next.js: next-sitemap package
- Manual: xml-sitemaps.com

**Sitemap Size Limits:**
- Max 50,000 URLs per sitemap
- Max 50MB uncompressed
- Use sitemap index for larger sites

**Submission Points:**
- Google Search Console
- Bing Webmaster Tools
- Ping: `https://www.google.com/ping?sitemap=URL`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.