Does WordPress Have a Built-In XML Sitemap? Find the Default Sitemap URL
Table of Contents
- Does WordPress have a built-in XML sitemap? Yes, it does.
- What the default sitemap file actually is
- When WordPress creates the sitemap automatically
- The exact default URL patterns you should test
- How to check the WordPress sitemap in a browser
- Where WordPress “stores” the default sitemap and how it’s generated
- Common issues: Default sitemap URL not opening and how to fix it
- What’s included and what’s missing in the default WordPress sitemap
- When you might need an SEO plugin instead
- Conclusion
Does WordPress have a built-in XML sitemap? Yes, it does.
Yes, WordPress includes a WordPress built-in sitemap in core. You do not need extra tools for a basic sitemap. Many site owners ask, does WordPress generate a sitemap automatically? In most standard setups, it does.
The default WordPress sitemap URL is the same for most sites. It is a public URL that your browser can open. This is also the simplest way to confirm your WordPress sitemap location.
Here is the default WordPress sitemap URL format to test:
- https://yourdomain.com/wp-sitemap.xml
If your site uses “www”, keep it consistent in the URL. If WordPress runs in a subfolder, include that folder. For example:
- https://yourdomain.com/blog/wp-sitemap.xml
This is the Default WordPress sitemap that WordPress serves by default. It is also the quickest way to learn how to access WordPress sitemap.
To verify it is working, do this quick check:
- Open the URL in a normal browser tab.
- Confirm it loads, and does not show a 404 page.
- Look for an XML page with multiple sitemap links.
- Click one link to ensure it opens correctly.
This process is the simplest method for how to check WordPress sitemap.
What the default sitemap file actually is
A WordPress XML sitemap is a structured list of important site URLs. It helps search engines find pages that matter on your site. It also helps crawlers understand your site layout faster.
The default WordPress sitemap is usually a “sitemap index”. That means it is not one long list of every URL. Instead, it acts like a hub that links out. Each link opens a smaller sitemap for a content type.
On many sites, the index includes sitemap links like these:
- Posts sitemap
- Pages sitemap
- Categories sitemap
- Tags sitemap
- Authors sitemap (depends on site settings)
Each smaller sitemap contains URLs WordPress thinks are public. These URLs are the ones search engines can crawl and index. When you publish or update content, the sitemap updates too. That is why the default sitemap is helpful for basic SEO.
When WordPress creates the sitemap automatically
The WordPress built-in sitemap works in modern WordPress versions. If you run WordPress 5.5 or newer, it is available. In normal cases, does WordPress generate a sitemap automatically? Yes, it does. WordPress builds the WordPress XML sitemap in the background. You do not need to create files by hand.
This default system starts working right after setup. It updates when you publish new posts or pages. It also updates when you change public content settings. The Default WordPress sitemap is meant for basic indexing needs. It helps search bots find your URLs with less effort.
A few things must be true for smooth sitemap output. Use this quick checklist before you test the link.
- Your site is running WordPress 5.5 or newer.
- Your site is public and not set to “private.”
- A security rule is not blocking sitemap endpoints.
- A cache rule is not serving a broken XML response.
- Your permalink rules are working without errors.
If these points look fine, the sitemap should appear. You can then confirm the WordPress sitemap location using the URL test. This is also the fastest method for how to access WordPress sitemap without plugins.
The exact default URL patterns you should test
Start by testing the main default WordPress sitemap URL path first. On most sites, the correct path is always the same. You only change the domain part to match your site.
Test these URL patterns in your browser:
- https://yourdomain.com/wp-sitemap.xml
- http://yourdomain.com/wp-sitemap.xml (only if your site uses HTTP)
- https://www.yourdomain.com/wp-sitemap.xml (if your site uses www)
If WordPress is installed in a subfolder, include the folder. This is common on some older site setups.
- https://yourdomain.com/subfolder/wp-sitemap.xml
When the URL opens correctly, you will see an XML sitemap index. It usually shows several sitemap links in a list. Those links point to smaller sitemaps under the same system. This confirms the Default WordPress sitemap is active and reachable.
You can also test one sub-sitemap after the index loads. Click any sitemap link shown on the index page. If it opens, the sitemap system is working end to end. This gives you a clean answer for how to check WordPress sitemap in real time.
If the page shows XML without styling, that is normal. Browsers display XML in a simple format by default. The important part is that the URL loads without errors. If it loads, your WordPress sitemap location is confirmed.
How to check the WordPress sitemap in a browser
You can confirm your WordPress XML sitemap in under two minutes. You do not need any special tool for this check. A normal browser is enough for a clean test. This method also helps you confirm the WordPress sitemap location.
Follow these steps in the same order.
Step 1: Open the default WordPress sitemap URL
Start with the main sitemap index URL. This is the default WordPress sitemap URL for most sites. Open it in your browser address bar.
- https://yourdomain.com/wp-sitemap.xml
If your site uses “www,” include it in the link. If your site runs in a subfolder, include that folder.
This step also answers how to access WordPress sitemap directly.
Step 2: Confirm the page loads and shows XML
When the URL works, you will see an XML page. It may look simple and unstyled. That is normal for XML pages in browsers. What matters is that the page loads without errors.
Check these signs on the page:
- The URL opens without a 404 or “not found” message.
- You see a list of sitemap links, not a blank page.
- The page title often mentions “sitemap” or “sitemap index.”
If you see this, your WordPress built-in sitemap is active.
Step 3: Confirm the page is a sitemap index
The Default WordPress sitemap usually appears as an index first. This index does not list every URL in one place. It works like a main directory for smaller sitemaps. Each link leads to another XML file with real URLs.
On many sites, the index includes links for:
- Posts sitemap
- Pages sitemap
- Categories or tags sitemap
- Other public content types
This confirms WordPress is building sitemaps by content type.
Step 4: Click one sub-sitemap link and verify URLs show
Now click any sitemap link inside the index page. A good test is the posts sitemap or pages sitemap. The new page should open as XML again. It should contain many URLs from your site.
Look for these items to confirm success:
- Multiple website URLs listed line by line.
- Each URL starts with your domain name.
- Each entry often includes a last modified date.
If you see this, the sitemap system works correctly. This is a reliable method for how to check WordPress sitemap without plugins.
Step 5: Confirm the sitemap is not blocked by visibility settings
Sometimes the sitemap exists but gets blocked by settings. You should confirm the site is not set to hide from search engines. This check matters when the sitemap page loads, but looks incomplete.
Go to your WordPress dashboard and check:
- Settings → Reading
- Look for the option to discourage search engines
- Make sure it is not enabled for a public site
If that option is on, your indexing can suffer. Your WordPress sitemap location may still open. But search engines may not treat the site as ready.
After this step, you have a clear result. You now know how to access WordPress sitemap and confirm it works. You also confirm does WordPress generate a sitemap automatically on your setup.
Where WordPress “stores” the default sitemap and how it’s generated
Many users try to find the sitemap file inside hosting folders. That search often fails and causes confusion. The WordPress built-in sitemap is usually not saved as a static file. WordPress generates it dynamically when someone opens the URL.
So your WordPress sitemap location is a URL endpoint, not a file path. When you open the default WordPress sitemap URL, WordPress builds the XML output live. It pulls public links from your database. Then it displays them as a WordPress XML sitemap in the browser.
This is why you may not find a sitemap file in these places:
- wp-content/uploads/
- your theme folder
- your cPanel File Manager root
That is normal behavior for the default sitemap system. WordPress treats the sitemap like a special page route. It loads similar to a normal page request. If WordPress can load pages, it can usually load the sitemap too.
A simple way to remember it is this. The Default WordPress sitemap is accessed like a page, not downloaded like media. That is also why cache and security rules can affect it. Those tools often control URL access and responses.
Common issues: Default sitemap URL not opening and how to fix it
Sometimes the default WordPress sitemap URL does not open correctly. You may see a 404 error, a blank page, or redirects. The good news is that most causes are simple to fix. Use the checks below in the same order for best results.
Issue A: The sitemap shows a 404 “Not Found” error
A 404 often means WordPress is not serving the sitemap route. It can happen when permalinks are not refreshed. It can also happen when WordPress is too old. In rare cases, a plugin blocks the endpoint.
Try these fixes:
- Confirm your WordPress version is 5.5 or newer.
- Go to Settings → Permalinks in WordPress dashboard.
- Click “Save Changes” without changing anything.
- Now retry https://yourdomain.com/wp-sitemap.xml again.
This refreshes rewrite rules and fixes many sitemap 404 cases. After this, check the WordPress sitemap location again in the browser.
Issue B: The sitemap opens, but it is blank or incomplete
A blank sitemap usually means WordPress has no public content to list. It can also mean indexing is discouraged. Another reason is that content types are not public. In that case, WordPress excludes them from the sitemap index.
Check these points:
- Confirm you have published posts or pages on the site.
- Confirm the content is set to public, not private.
- Make sure “Discourage search engines” is not enabled.
- Confirm your site is not in maintenance or coming soon mode.
After fixing these, reopen the Default WordPress sitemap URL. This is also a reliable method for how to check WordPress sitemap accuracy.
Issue C: A security plugin blocks the sitemap endpoint
Security tools may block XML endpoints to reduce scanning. Some settings block unknown URL patterns by default. This can stop how to access WordPress sitemap even on public sites.
Look for these signs:
- You see a 403 “Forbidden” error.
- You see a security challenge or firewall page.
- The sitemap works when logged in, but not otherwise.
Fix approach:
- Temporarily disable the specific security rule for sitemaps.
- Allow access to /wp-sitemap.xml in the plugin settings.
- If a firewall exists, whitelist the sitemap URL path.
- Then test the default WordPress sitemap URL again.
Do not keep security disabled. Change only the rule blocking the sitemap.
Issue D: Cache or optimization tools serve the wrong response
Cache plugins can store a broken XML response. Minify tools can also change XML output in rare cases. This can lead to an invalid WordPress XML sitemap page.
Try these fixes:
- Clear your site cache from the cache plugin panel.
- Clear server cache if your host provides caching.
- Purge CDN cache if you use one.
- Then open the sitemap in a private browser window.
A private window avoids old browser cache issues. It also gives a clean test result for how to check WordPress sitemap.
Issue E: Wrong domain format or forced redirects
Sometimes the sitemap exists, but you test the wrong domain version. For example, your site may force “www” or force HTTPS. That can create confusion while testing the WordPress sitemap location.
Fix this by matching your real site URL:
- If your site uses HTTPS, use HTTPS in the sitemap URL.
- If your site uses www, include www in the sitemap URL.
- If WordPress runs in a folder, include the folder path.
Then retest the Default WordPress sitemap link. Once it opens, you have confirmed the correct sitemap path.
These fixes cover most sitemap access problems. After you apply them, the default sitemap should load properly. You can then move forward with indexing and search visibility checks.
What’s included and what’s missing in the default WordPress sitemap
The Default WordPress sitemap focuses on public, indexable content. It is built for basic search crawling and discovery. If your site is new, this is often enough. If your site is large, you may need more control.
In most cases, the WordPress XML sitemap index includes these items:
- Published posts that are public and indexable
- Published pages that are public and indexable
- Categories and tags used on public content
- Author archives on many standard blog setups
- Custom post types marked as public in WordPress
This means WordPress can cover many content types by default. That is why the WordPress built-in sitemap helps many website owners. It works without manual steps after basic setup.
For WooCommerce sites, products can be included in many cases. They appear when products are public and visible. If products are set to hidden or private, they may not show. This is normal behavior for the default system.
Now, here is what the default sitemap often does not provide. These are common “missing” controls that users expect later:
- Easy options to exclude specific pages or post types
- Advanced control over taxonomies and author archives
- Special sitemap types like images or videos
- Strong control for noindex rules and sitemap visibility
- Extra options for large sites with complex structures
So, if you open your default WordPress sitemap URL and see less content, do not panic. WordPress only lists content it believes should be crawled. This also affects how to check WordPress sitemap results during testing.
When you might need an SEO plugin instead
The WordPress built-in sitemap is a solid starting point. But some sites need more sitemap control for SEO. This is common for business sites, stores, and large blogs. The key point is not “plugin vs no plugin.” The key point is sitemap control and clean indexing.
You may want a plugin if you need any of these:
- You want to remove low value pages from the sitemap.
- You need to exclude tags, authors, or some categories.
- You want stronger control for custom post type sitemaps.
- You want image or video sitemap support.
- You want rules that match your indexing strategy better.
Even with a plugin, you should still know the default setup. You should understand your WordPress sitemap location and how it behaves. This makes troubleshooting much easier later.
Also remember this point. If you switch plugins, sitemap URLs can change. So always confirm how to access WordPress sitemap after changes. Then re-check the sitemap index in your browser.
Conclusion
Now you know the default WordPress sitemap URL to test anytime. Open https://yourdomain.com/wp-sitemap.xml and confirm it loads. This confirms your WordPress XML sitemap is active and reachable. If it fails, recheck permalinks and security rules quickly. If you want expert help with sitemap checks and indexing, contact WooHelpDesk today. We can review your WordPress sitemap location, confirm it works, and guide next steps.

