Yes. WordPress automatically creates a sitemap on sites running WordPress 5.5 or later. The built-in feature helps search engines discover important pages, posts, and other public content. In most cases, you can view the default sitemap by adding /wp-sitemap.xml to your website’s domain, such as https://example.com/wp-sitemap.xml.
However, a sitemap being created automatically does not necessarily mean it is available, complete, or the best fit for your site. Settings, plugins, and your website’s visibility can affect what WordPress publishes. Here’s how the built-in WordPress sitemap works, how to check it, and what to do if you need more control.
How WordPress Automatically Creates a Sitemap
WordPress has included a native XML sitemap feature since version 5.5. It generates sitemap files dynamically, so you generally do not need to create an XML file yourself or install a plugin just to have a basic sitemap.
The main sitemap is an index: a file that points to other sitemap files. Depending on the content and settings on your site, those files may cover posts, pages, public custom post types, taxonomies, or author archives. Search engines can follow the links in the index to find the URLs listed in the individual sitemaps.
The core sitemap is designed to make public content easier for search engines to discover. It is not a complete SEO audit, a list of every URL on your domain, or a guarantee that search engines will crawl or index every URL it contains.
Where to Find Your WordPress Sitemap
To check whether your site’s default sitemap is available, enter your domain followed by /wp-sitemap.xml in a browser. For example:
https://example.com/wp-sitemap.xmlhttps://www.example.com/wp-sitemap.xml
Use the version of your domain that matches your site’s canonical address. If your site uses HTTPS, check the HTTPS URL. The sitemap index should load as XML and contain links to the sitemap files that WordPress has generated.
You can also check your site’s robots.txt file by visiting https://example.com/robots.txt. When the built-in sitemap is enabled, WordPress can include a line that points crawlers to the sitemap. The robots.txt file is a helpful clue, but opening the sitemap URL directly is the simplest way to confirm that it loads.
What the Built-In Sitemap Includes
WordPress creates sitemap entries for eligible, publicly available content. What appears depends on your site’s content types and configuration. A typical site may have entries for published posts and pages, while a site with public custom post types or taxonomies may have additional sitemap files.
Some sites may also have author archive URLs in their sitemap. Whether a particular archive or content type appears depends on how it is registered and whether it is publicly viewable. Private content should not be treated as sitemap material; the sitemap is intended to help search engines find public URLs.
WordPress may split sitemap data into multiple files rather than placing every URL in one large document. The sitemap index links to those files, allowing the system to organize larger sites. The exact number and names of the files vary according to the content on the site.
What a Sitemap Does—and Does Not Do
A sitemap gives search engines information about URLs you want them to discover. It can be especially useful when a site is new, has many pages, or has content that is not easy to reach through internal links. It can also help search engines notice new or updated content, depending on the sitemap data and how often they revisit the site.
A sitemap does not force Google or another search engine to crawl a URL. Submitting a sitemap is a discovery signal, not a guarantee of indexing or rankings. Search engines make their own decisions based on factors such as page quality, accessibility, canonical URLs, and their indexing policies.
A sitemap also does not replace good site structure. Important pages should still be reachable through useful internal links, and each page should be accessible to search engine crawlers if you want it considered for indexing. A URL in a sitemap that is blocked, redirected, duplicated, or marked not to be indexed may not behave as you expect.
Why Your WordPress Sitemap May Not Appear
If /wp-sitemap.xml returns an error or does not load, check these common causes before assuming WordPress has no sitemap feature:
- Your WordPress version is older than 5.5. The built-in sitemap feature is available in WordPress 5.5 and later. Update WordPress where appropriate, or use a reputable SEO or sitemap plugin.
- Search engine visibility is turned off. In the dashboard, go to Settings, then Reading, and review the option labeled “Discourage search engines from indexing this site.” If this is selected, WordPress may disable its native sitemap. Do not change it on a private or staging site unless you intend the site to be publicly discoverable.
- A plugin has disabled or replaced the core sitemap. SEO plugins and other site tools may provide their own sitemap or alter the WordPress default. Check the plugin’s settings and documentation.
- Your site has caching or security rules that interfere. A cache, firewall, security plugin, or hosting configuration may block the sitemap URL or serve an outdated response. Clear the relevant cache and check with your host if needed.
- There is a URL or configuration mismatch. Confirm that you are using the correct domain, protocol, and site address, especially if WordPress has recently moved or changed from HTTP to HTTPS.
If the sitemap is still unavailable, temporarily testing with plugins disabled can help identify a conflict, but do this carefully. On a live site, use a staging environment or get help from your developer so you do not disrupt visitors or essential site features.
WordPress Core Sitemap vs. SEO Plugin Sitemaps
The native WordPress sitemap is a straightforward starting point. It is generated automatically and is often enough for a small site with ordinary publishing needs. You do not have to install an SEO plugin solely because you believe WordPress cannot create a sitemap.
Many SEO plugins generate their own sitemap system instead. Their sitemap URLs commonly use a format such as /sitemap_index.xml, though the exact address depends on the plugin and its settings. These tools may provide controls to include or exclude particular content types, taxonomies, or archives. Some also offer specialized sitemap features or connect sitemap management with broader SEO settings.
Using a plugin can be helpful when you need that extra control, but avoid publishing multiple competing sitemap systems without understanding how they work together. If you install or configure an SEO plugin, check which sitemap is active and submit the correct sitemap index—not an old URL—to search engines.
How to Submit Your Sitemap to Search Engines
Search engines may discover a sitemap through your robots.txt file or by finding links to it elsewhere. You can also submit the sitemap directly through the search engine’s webmaster tools. For Google, that means using Google Search Console; other search engines have their own webmaster platforms.
Before submitting, open the sitemap in a browser and confirm that it loads successfully. If you use an SEO plugin, submit the plugin’s sitemap index. If you use the WordPress core sitemap, submit /wp-sitemap.xml. Submitting a sitemap does not guarantee that every listed URL will be indexed, but it gives the search engine a clear route to the sitemap data.
After submission, check the webmaster platform for processing messages or errors. A reported issue may point to unreachable URLs, incorrect sitemap formatting, or a mismatch between the submitted sitemap and your site’s canonical domain. Fix the underlying issue rather than repeatedly submitting the same sitemap.
Best Practices for a Useful Sitemap
- Keep the sitemap focused on indexable URLs. Avoid intentionally listing pages that are private, blocked from crawling, redirected, or marked with a noindex instruction.
- Use the preferred version of your domain. Check that listed URLs consistently use the right protocol and domain format, such as HTTPS and either the www or non-www version you have selected.
- Maintain strong internal links. A sitemap supports discovery, but visitors and crawlers should also be able to reach key pages through clear navigation and contextual links.
- Review changes after installing SEO plugins. Confirm which sitemap is active and whether the plugin’s include and exclude settings match your intentions.
- Check important pages manually. A sitemap is only one part of technical SEO. Make sure priority pages load correctly and are not accidentally hidden from search engines.
Conclusion
WordPress automatically creates a basic XML sitemap on sites running version 5.5 or later. In a standard setup, you can find it at /wp-sitemap.xml, and it will point search engines to eligible public content. The sitemap may be unavailable if search visibility is disabled, a plugin changes the behavior, or a server or caching rule blocks it.
For many sites, the built-in sitemap is a good starting point. If you need more control over which URLs are included or want additional SEO tools, an SEO plugin may be a better fit. Whichever option you use, verify that the sitemap loads, submit the correct sitemap index when useful, and remember that a sitemap helps search engines discover URLs—it does not guarantee that they will index or rank them.