How XML Sitemaps Affect SEO: Benefits, Rules and Best Practices

Abhilash SahooFounder & CEO, Infyways
Published
Updated
Reading time
2 min read
Wordpress Sitemap
On this page 6 sections

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?

EffectWhat actually happens
DiscoveryNew or deep URLs are found faster, especially without many internal links
RecrawlingAn accurate lastmod helps Google recrawl updated pages sooner
Index monitoringSearch Console's Pages report can be filtered by sitemap to see which submitted URLs are indexed
Canonical signalListing only canonical URLs is a (weak) signal of which version you prefer
RankingsNo 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 lastmod only when the content really changed.
  • Separate sitemaps for images, video and news are optional extensions.

How do I submit a sitemap?

  1. Find your sitemap URL (WordPress core: /wp-sitemap.xml; Yoast and Rank Math: /sitemap_index.xml).
  2. Add Sitemap: https://example.com/sitemap.xml to robots.txt.
  3. In Google Search Console, go to Sitemaps, enter the URL and Submit.
  4. Submit it in Bing Webmaster Tools too; Bing also supports IndexNow for instant URL notifications.
  5. 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

Not directly. It helps search engines discover and recrawl URLs; rankings depend on content, links and page experience.

No. Google ignores priority and changefreq, but uses lastmod when it is accurate.

Up to 50,000 URLs or 50 MB uncompressed per file; use a sitemap index for more.

Not strictly if every page is well linked, but it is easy to add and helps monitoring in Search Console.

Share this article

Filed under Wordpress

Need help with this?

Talk to the Infyways team.

From audits and upgrades to performance and long-term care, we build and maintain the platforms our clients ship on.