You publish a useful guide, link it from your site, and wait. When it still hasn’t appeared in Google, you start wondering whether search engines can even find it.
Now you’re checking unfamiliar files and reports when you meant to be writing the next article.
The frustrating part is not knowing whether your site needs a fix or Google simply hasn’t processed the page yet. The guide below helps you get a valid sitemap in front of Google and understand what its processing report can—and can’t—tell you about those missing pages.
What Is an XML Sitemap, and Does It Help SEO?
An XML sitemap is a file that lists important page addresses in a format search engines can read. sitemap.xml is a common filename, but your file can have another name.
XML sitemaps for SEO help search engines discover URLs. To understand their limits, separate four things:
| Stage | What happens |
|---|---|
| Discovery | Google learns that a URL exists. |
| Crawling | Google fetches the page. |
| Indexing | Google processes the page and includes it in its index, making it eligible for search. |
| Ranking | Google decides where an eligible page appears for a search. |

A sitemap supports discovery, but it guarantees neither crawling, indexing, nor higher rankings. Google’s sitemap guidance makes that distinction clear.
I would prioritize one for a new site with few links from other websites, or a large site where important pages are harder to reach. A small site with thorough internal links may manage without one. But if your platform maintains a sitemap automatically, I would keep it.

An HTML sitemap is different: it’s a page visitors can use to browse your site. Neither kind replaces links between your pages.
Throughout this guide, imagine you run an indoor-cat enrichment blog and sell a printable play planner. The example.com addresses below are placeholders.
Find Your Existing Sitemap
Before creating anything, check whether your website already has a sitemap.
Start with your platform’s SEO or sitemap settings. You can also check robots.txt, a file that gives search engines crawling instructions and may list your sitemap. Open it by adding /robots.txt directly after your domain, then look for a line beginning with Sitemap:.

You can also try these addresses on your own domain:
https://example.com/sitemap.xml
https://example.com/sitemap_index.xml
On self-hosted WordPress using permalinks, also check:
https://example.com/wp-sitemap.xml

A missing file at one address doesn’t mean there’s no sitemap. Your platform or SEO plugin may use another address.
You may find a sitemap index rather than a list of articles. An index lists other sitemap files, often grouped into posts, pages, and products. Open those child files to see the actual page URLs.
If the existing sitemap works and updates automatically, reuse it. Find out which platform feature or plugin manages it before changing anything. Installing another generator gives you another set of settings to maintain, which is rarely the prize you wanted.
Choose Which URLs Belong in Your Sitemap
Include public pages you want people to find through search. Each should:
- Return HTTP
200, meaning the server successfully serves the page. - Allow search engines to crawl it.
- Have no
noindexinstruction telling search engines to leave it out. - Use the preferred address for that content.
That preferred address is the canonical URL. For duplicate or very similar pages, it identifies the version you want search engines to use.

Use the same page addresses in your sitemap, internal links, and canonical tags—the tags in page code that name each page’s preferred URL. Match HTTPS, the domain with or without www, and the trailing slash format.
Sitemap inclusion is a weak canonical signal, so it won’t reliably settle conflicting instructions. Google’s canonical guidance recommends consistent signals.

For the cat-enrichment site, the choices might look like this:
| URL or page | Include it? | Reason |
|---|---|---|
/window-perch-guide/ | Yes | A public guide intended for search. |
/printable-cat-play-planner/ | Yes | The public product page. |
/window-perch-guide/?utm_source=newsletter | No | A tracking version of the same guide. |
| Newsletter confirmation page | No | Deliberately marked noindex. |
| Checkout or account login | No | Part of completing a transaction or accessing an account. |
| Indoor-play category archive | If useful | Include it when it offers a worthwhile browsing destination and is intended for search. |
Leave out redirected addresses and missing pages too. If a guide has moved, include its final address.
Removing a URL from a sitemap does not prevent indexing. Also, robots.txt controls crawling, while noindex controls indexing. Google needs access to a page to read its noindex instruction; blocking the crawl can stop that instruction from being seen. A sitemap overrides neither restriction. See Google’s explanation of noindex.
Create Your XML Sitemap
Choose the method that creates the least ongoing work.
| Your situation | Method I would choose |
|---|---|
| You regularly publish articles or change products | An automatic sitemap from your platform or SEO plugin. |
| Your platform lacks automatic generation, but you can upload files | A crawler-generated XML export. |
| You have only a few pages that rarely change | A small handwritten XML file. |
Before choosing an exported or handwritten file, confirm that your host lets you publish it at a public website address. A downloaded file on your laptop isn’t ready for submission.

Across all three methods, treat modification dates honestly. The optional <lastmod> field should record a significant page update, such as a substantial revision to the guide. A date can use the format 2026-10-20.
Don’t stamp every page with the date you generated the sitemap. Omit dates you can’t maintain accurately. Google also ignores <priority> and <changefreq>, so there’s no reason to spend an afternoon adjusting them. These rules come from Google’s XML sitemap guidance.
Use Your Platform’s Automatic Sitemap
This is my first choice for a changing website. It ties sitemap updates to publishing instead of relying on your memory.
Find the platform’s sitemap feature and enable it if necessary. Choose the content types that meet your inclusion rules, then open the generated file.

Rank Math is my preferred WordPress SEO plugin. If you use it:
- Enable the Sitemap module in its dashboard.
- Open Sitemap Settings and review the included content types.
- Include the posts, pages, and products you want in search, and review exclusions.
- Save the settings and copy the generated sitemap index address, normally ending in
/sitemap_index.xml.
Check the output rather than assuming the switches produced the right result. For the running example, look for both the window-perch guide and the planner’s public sales page.
Make corrections in the software generating the sitemap. Editing its output won’t give you a lasting fix because the next automatic update can replace your changes.
Use one maintained generation setup. Several child sitemap files inside its index are normal.
Generate a File When Your Platform Lacks Automatic Sitemaps
A crawler-based generator follows your website’s links and builds a URL list from what it finds.
XML-Sitemaps.com offers an online generator with a free allowance of up to 500 pages. I would consider it for a small site without automatic generation.

The basic process is:
- Enter your public website address and run the crawl.
- Review the discovered URLs against your published pages.
- Download the XML file and open it in a plain-text editor. Remove unwanted addresses and add any missing pages that meet your inclusion rules.
- Upload the reviewed XML file to your website.
A crawler’s list needs review. On one of my digital-product sites, a crawl missed a published sales page because I hadn’t linked to it from the rest of the site. I added the missing internal link and reran the crawl. That experience is why I compare exports with the publishing list before trusting them.
For the cat blog, check that the generator found the planner page as well as the articles. If it missed the planner, investigate its links instead of only adding the address to the file.
Regenerate and replace an exported sitemap when included pages are added, significantly updated, redirected, or removed. I would skip this method for a frequently changing site if automatic generation is available.
Write a Minimal XML File for a Small, Stable Site
For a handful of stable pages, you can write the XML yourself in a plain-text editor.
The outer <urlset> tags hold the page list. The xmlns address, called the namespace, identifies the sitemap format. Each page gets a <url> entry containing a <loc> tag with its full address, including https:// and the domain.

Here is a complete two-page example:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/window-perch-guide/</loc>
</url>
<url>
<loc>https://example.com/printable-cat-play-planner/</loc>
</url>
</urlset>
Replace the placeholder addresses with your own and save the file as UTF-8, using a name such as sitemap.xml. Make sure your editor hasn’t added .txt.

Keep the namespace exactly as shown. Its http:// form is intentional, even when your page addresses use HTTPS.
XML also requires special characters to be escaped. For example, an ampersand inside an included address must appear as &. The sitemap protocol defines these formatting rules.
Validate Your Sitemap Before Submitting It
An exported or handwritten sitemap must be published on your website. Use your host’s file manager or file-transfer tool to upload it, preferably at the site root:
https://example.com/sitemap.xml
Putting the file at the top level of your site lets it cover pages throughout the site. Automatic platform sitemaps are already hosted.
Open the live address while logged out. A styled table is fine, but the underlying response must be XML. A login screen, security challenge, or HTML error page won’t work.
To check the response, open your browser’s developer tools, select Network, and reload the address. Select the sitemap request and confirm a 200 status, then inspect its response. Check child files too if you’re using an index.

Next, enter the live address into a format checker such as the XML-Sitemaps.com validator. Fix errors involving missing closing tags, the namespace, incomplete addresses, unescaped characters, or invalid dates.
Each sitemap must stay within both limits: 50,000 URLs and 50 MB uncompressed. Split larger files and reference the parts through a sitemap index.
Finally, check the pages themselves. Valid XML can still list unsuitable URLs.
For the running example, open the guide and planner page and confirm that both load correctly, use the intended canonical address, and allow indexing. On your site, check representative pages from each included content type.
Submit Your Sitemap to Google Search Console
Google Search Console is Google’s free tool for monitoring your site in search. To submit a sitemap, you need owner permissions for a property—the website or section of a website you manage in the tool. That property must cover the sitemap and its pages.
If you haven’t added your site, create a property and complete ownership verification. A Domain property requires DNS verification through your domain’s DNS provider. A URL-prefix property offers alternatives, including an HTML file or tag. If you choose URL-prefix, match the HTTPS address and domain version your site uses.
Once you have access:
- Select the correct property in Search Console.
- Open the Sitemaps report.
- Enter the hosted sitemap address in Add a new sitemap.
- Click Submit.

When the form already supplies your website prefix, enter only the remaining path, such as sitemap_index.xml.
Submit the index address if it references the child sitemaps you want processed. Submission tells Google where the hosted file lives; it doesn’t upload a local file.
You can also advertise the sitemap in your root robots.txt file. Add this line unless an accurate entry already exists:
Sitemap: https://example.com/sitemap.xml
Use your actual sitemap or index address. Add the line without replacing the file’s existing crawl rules.
If you’re unsure how the sitemap entry fits with your existing crawl rules, work from your current file rather than starting over. Prepare a draft and test it before changing the live version.

Free AI Crawl Directive Assistant




Check Processing and Resolve Problems
After submission, check whether Google processed the file. Then investigate individual pages separately if needed.
Confirm That Google Can Read the Sitemap
Review the status, last-read date, and discovered-page count.
| Report item | What it tells you |
|---|---|
| Success | Google fetched and read the sitemap successfully. |
| Last read | When Google last fetched it. |
| Discovered pages | Unique page URLs parsed from the sitemap, including child files for an index. |

Discovered pages are not an indexing count. These meanings follow Google’s Sitemaps report definitions.
For “Couldn’t fetch,” check the submitted address, server availability, login requirements, and crawler blocking. For parsing errors, inspect the reported location for malformed XML, invalid addresses, or HTML served instead of XML.

Compare the count with what you intended to submit. If the cat site’s file contains only the two example pages, a count of one deserves investigation. Open the live file and check whether both entries are present and valid.
Correct the generator or file, validate it again, and resubmit after fixing a persistent failure.
Investigate an Important Page That Is Not Indexed
If the sitemap works but an important page is missing, paste that page’s full address into Search Console’s URL Inspection tool.
Review:
- Whether Google can crawl the page.
- Whether indexing is allowed.
- The reported crawl information.
- The Google-selected canonical, where available.

Use the indexed report to review Google’s canonical choice. After a fix, select Test live URL to check current accessibility. A successful live test doesn’t prove indexing or predict canonical selection. Google’s URL Inspection documentation explains that distinction.
Let the finding determine your action:
| Finding | Useful response |
|---|---|
Accidental noindex on the planner page | Remove it if the page belongs in search. |
| Old guide address redirects | Put the final address in the sitemap. |
| Canonical points to an unintended page | Align the canonical setting, sitemap entry, and internal links. |
| Important page has no internal links | Link to it from relevant, accessible pages. |
| Page is missing or broken | Restore it or remove the outdated sitemap entry. |
“Crawled—currently not indexed” means Google has already fetched the page. For an important page, investigate technical problems, duplication, and whether the content offers enough useful information. Google’s indexing status guidance confirms that this status is different from a discovery failure.
I wouldn’t keep resubmitting the sitemap as the remedy. If Google has fetched the planner page, another announcement of its address doesn’t answer why it wasn’t indexed.
Keep Your Sitemap Current
Make sitemap checks part of publishing.
When you publish an intended search page, confirm that it appears in the live sitemap. When you redirect or delete a page, check that its old address leaves the file. For exported or handwritten sitemaps, update and replace the hosted file yourself.

Keep the sitemap address stable. Google periodically rereads successfully processed sitemaps, so routine content changes don’t require another manual submission.
I would also recheck the file after a domain move or changes to your platform, SEO plugin, caching, or security settings. Confirm that it still loads, contains the expected pages, and has no processing failure in Search Console.
The useful maintenance habit is checking that publishing changes reach the sitemap. Repeatedly clicking Submit adds work without maintaining the file.
What Next?
Find your live sitemap and check whether one important article and one public product or service page appear with their correct addresses. If the file passes validation, submit it and review its processing status.
Use the social buttons to share this guide when you’re comparing sitemap setups—it gives you a common checklist for deciding whether the file actually works.
Which part of your setup needs attention: finding the sitemap, choosing its URLs, or understanding Google’s report? Leave your answer and any other questions in the comments.
Share this post with your friends & followers:
