Updated 12 October 2026 ยท By Abhilash Sahoo, Infyways
An XML sitemap helps search engines discover and recrawl the URLs you want indexed; it does not raise rankings by itself. It matters most for large sites, new sites with few backlinks, sites with pages that are poorly linked internally, and sites with frequently changing content. Google uses an accurate <lastmod> date, but ignores <priority> and <changefreq>.
How does an XML sitemap affect SEO?
| Effect | What actually happens |
|---|---|
| Discovery | New or deep URLs are found faster, especially without many internal links |
| Recrawling | An accurate lastmod helps Google recrawl updated pages sooner |
| Index monitoring | Search Console’s Pages report can be filtered by sitemap to see which submitted URLs are indexed |
| Canonical signal | Listing only canonical URLs is a (weak) signal of which version you prefer |
| Rankings | No direct effect; content, links and page experience decide rankings |
What are the sitemap rules and limits?
- Max 50,000 URLs and 50 MB (uncompressed) per sitemap file; use a sitemap index for more.
- Absolute URLs, UTF-8 encoding, and only URLs that return 200, are canonical and are indexable.
- Leave out redirected, 404, noindex, parameter and duplicate URLs.
- Set
lastmodonly when the content really changed. - Separate sitemaps for images, video and news are optional extensions.
How do I submit a sitemap?
- Find your sitemap URL (WordPress core:
/wp-sitemap.xml; Yoast and Rank Math:/sitemap_index.xml). - Add
Sitemap: https://example.com/sitemap.xmlto robots.txt. - In Google Search Console, go to Sitemaps, enter the URL and Submit.
- Submit it in Bing Webmaster Tools too; Bing also supports IndexNow for instant URL notifications.
- Check the Pages report a few days later for “Discovered โ currently not indexed” or errors.
Example
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/services/</loc>
<lastmod>2026-10-12</lastmod>
</url>
</urlset>
Common sitemap mistakes
- Listing URLs that redirect, 404 or are noindexed.
- Setting every lastmod to today on each build.
- Including both http and https or www and non-www versions.
- Forgetting to update the sitemap after a migration.
Want a technical SEO audit including your sitemaps? See our SEO services. Joomla site? See the Joomla SEO checklist.
Frequently asked questions
Does an XML sitemap improve rankings?
Not directly. It helps search engines discover and recrawl URLs; rankings depend on content, links and page experience.
Does Google use priority and changefreq?
No. Google ignores priority and changefreq, but uses lastmod when it is accurate.
How many URLs can a sitemap have?
Up to 50,000 URLs or 50 MB uncompressed per file; use a sitemap index for more.
Do small websites need a sitemap?
Not strictly if every page is well linked, but it is easy to add and helps monitoring in Search Console.
