XML Sitemap Audit for WordPress: Keep the Right URLs Discoverable
An XML sitemap is a list of URLs you want search engines to discover. It is useful for a growing WordPress site, but it is not a magic indexing button. The real task is to keep the list accurate, accessible, and consistent with the pages you want readers to find. This guide walks through a practical sitemap audit without changing settings at random.
Picture a blog with 200 published posts, many old drafts, a few removed categories, and image attachments. Its sitemap may contain useful posts alongside URLs that redirect or should not be indexed. Cleaning the list can make it easier to maintain the site, even though it does not guarantee higher rankings.
Know what a sitemap can and cannot do
A sitemap helps discovery, especially on large or complex sites or sites with pages that are hard to reach through links. It does not override a noindex directive, force Google to crawl immediately, or guarantee inclusion in search results. The Google Search Central sitemap overview explains these limits.
A small site with clear internal links may already be easy to crawl. That is good. Keep the sitemap as a consistent list of preferred URLs, and do not treat it as a replacement for helpful navigation or contextual links.
Find the live sitemap
Check your SEO plugin
WordPress sites often use an SEO plugin that creates a sitemap index and smaller sitemaps for posts, pages, and taxonomies. Open the plugin settings and confirm the feature is enabled. Then visit the sitemap URL in a browser. It should load without a login, error, or redirect loop.
Do not assume the location is always the same. Different plugins and server setups use different paths. Use the URL shown in the plugin or site settings, and check the actual response before submitting it to search engines.
Review the index and child files
A sitemap index can link to several sitemap files. Open each relevant file and inspect a sample of URLs. If a post type is not meant for public search, ask whether it belongs there. A private account page or internal search result usually has no place in an indexable-content sitemap.
Make a list of included types: posts, pages, categories, tags, media, products, and any custom types. Decide what deserves a public search result. This is a content and user-experience choice, not just a technical checkbox.
Check the URL quality
Include preferred canonical URLs
Each URL should normally be the final preferred version of that page. A sitemap entry that redirects to another address makes extra work. A URL that declares another canonical sends a mixed signal about which version you want indexed. Fix such cases when there is a clear preferred URL.
Suppose a post moved from an old slug to a new one. Keep a relevant redirect for old visitors, but list the new canonical URL in the sitemap. Check internal links as well. That makes the site’s signals more consistent.
Exclude drafts and restricted pages
Drafts, private posts, password-only pages, and noindex pages should generally not be included as normal public indexable content. WordPress plugin settings often handle this automatically, but verify rather than assume. A sitemap is public, so do not expose sensitive paths through it.
A staging site should not be treated like the live site. Check that test domains are appropriately protected and that production URLs point to the correct domain. A sitemap containing staging URLs can create confusion and accidental exposure.
Look for errors and soft 404s
Open a sample of entries and confirm they return useful content and a successful response. A URL returning a 404, server error, or unrelated redirect should not remain in the preferred URL list. A page with almost no useful content may appear technically valid yet still not merit indexing.
Do not delete every old article solely because traffic is low. Some evergreen pages help a small audience. Decide based on relevance, accuracy, uniqueness, and purpose. If content is genuinely obsolete, update, consolidate, or retire it with an appropriate response.
Review update dates honestly
Some sitemaps include last modification dates. If your setup supplies them, they should reflect meaningful page changes. Changing every date daily without changing content is not a useful discovery signal. Keep dates accurate and avoid artificial refreshes.
A real update might add new research, correct a broken instruction, or revise an important comparison. A tiny punctuation change does not necessarily justify signaling a major update. Focus on improving the page rather than gaming timestamps.
Submit and monitor in Search Console
Open Google Search Console, select the correct property, and inspect the Sitemaps report. Submit the sitemap URL if it is not already tracked. Review whether Google can fetch it and whether errors are reported. A successful submission means the file was found, not that all listed URLs are indexed.
Use the Page Indexing report to see broader patterns. Group affected pages by status and inspect representative URLs. A noindex exclusion may be intentional. A canonical difference may require reviewing duplicate content. Do not assume the sitemap caused every indexing issue.
Use URL Inspection for important pages
For one high-value article, use URL Inspection to check the selected canonical, indexing state, and crawl information. If you fixed a genuine problem, a request to recrawl may be appropriate. Google’s recrawl guidance notes that processing can take days or weeks and requests do not promise inclusion.
A list of 50 affected URLs is often best handled by identifying a shared template or setting problem first. Fixing one underlying issue can help more than submitting 50 separate requests.
Check internal discovery too
A page in a sitemap but absent from navigation and article links may be difficult for readers to find. Add contextual links from relevant pages where they serve a genuine purpose. Use clear anchor text. Do not create large blocks of links merely to push search engines toward every URL.
Google’s link best practices explains why crawlable HTML links and descriptive anchors matter. Sitemaps and internal links work together: one lists preferred pages, while the other helps people and crawlers move through the site.
A practical audit spreadsheet
Keep one row for each sample URL. Record page type, HTTP response, canonical target, indexability, sitemap inclusion, internal link source, and action. Start with ten representative pages from each major type, then expand if you find a problem. This avoids spending hours checking healthy URLs individually.
- Find the sitemap index and confirm it loads.
- List each included content type.
- Check samples for status, canonical, and noindex rules.
- Remove or correct clearly unsuitable URLs.
- Verify the sitemap report and monitor changes.
Keep a record of what you changed. If search reports shift later, you will have context. Avoid changing sitemaps, permalink structure, and indexing settings all at once unless a site migration requires a coordinated plan.
Common mistakes
Submitting a sitemap again and again
Repeated submissions do not make crawling instant. Update the file when your site changes and allow search engines time to process it. Check fetch errors before assuming the submission itself needs another try.
Including all tag archives
Tag archives can be useful when they organize a meaningful set of related pages. Thin or near-empty tag archives may add little value. Decide whether they offer a distinct browsing experience. If not, consider excluding them from the sitemap and search while keeping useful tags for site navigation.
Treating an index count as the goal
A high number of indexed pages is not the same as a useful site. Ten strong pages that solve real problems can serve readers better than hundreds of thin variants. The goal is to make valuable pages discoverable, not maximize a raw count.
A monthly maintenance routine
After new posts go live, check that the sitemap updates and the pages appear under the right type. After deleting or redirecting pages, verify old URLs are removed from the list. Once a month, review the sitemap fetch status and a sample of important pages. A simple routine prevents a large cleanup later.
When you change SEO plugins, do not leave conflicting sitemap systems active without review. Confirm the preferred sitemap URL, update any submitted location if necessary, and test the new files. Keep old links and redirects in mind during the transition.
The useful outcome
A clean sitemap makes your site’s preferred public URLs easier to find and maintain. It cannot replace good articles, stable pages, or links that help readers. Use it as one piece of a clear site structure. If every included URL serves a real purpose and matches your canonical and indexing choices, the audit has done its job.
