Yoast Confirms WordPress SEO Bug Creates Duplicate Sitemaps

Yoast, the makers of one of the most popular WordPress plugins for SEO, recently confirmed a bug that causes WordPress to generate duplicate sitemaps. 

It’s not clear how long this bug has been affecting websites, but it has reportedly been causing Yoast SEO to generate duplicate sitemaps since early February. 

The bug appears to be related to Yoast’s decision to move its sitemap generation service to the cloud, which was likely an attempt to improve performance and reliability. 

Yoast has since confirmed that it’s working on a fix, but there doesn’t seem to be a clear timeline for when this bug will be resolved.

Yoast SEO Sitemap

The Yoast SEO sitemap tool creates a sitemap for each article type automatically.

Page Sitemaps

A site with a sitemap for pages, for example, will publish a sitemap URL like this:


Post Sitemaps

A post sitemap for a site with fewer than thousands of posts will look like this:


A site with a lot of posts may publish sitemaps that look like this:



Yoast Duplicate Sitemap Bug

Yoast is also generating redundant sitemaps, according to the findings.

The following sitemaps will be found on a site that only has one sitemap for “pages”:

Yoast “Page” Sitemaps Bug

Original “Page” Sitemap:


Duplicate “Page” Sitemaps:



Yoast “Post” Sitemap Bug

The following sitemap is for a site that simply has a single sitemap for posts:

Original “Post” Sitemap:


Duplicate “Post” Sitemaps:



Yoast Multiple Sitemaps for Posts

The error manifests itself in a different way on a site with several sitemaps for posts.

If a site has hundreds of posts and three sitemaps are required, the sitemaps might look like this:

Original “Posts” Sitemaps:




However, as a result of the Yoast sitemap problem, they now have two more sitemaps that are duplicates of the first.

This is the first sitemap in the example above: /post-sitemap1.xml

These are the duplicates sitemaps of the original first sitemap:



Yoast Sitemap Bug is Live on Yoast.com

The problem is visible on any site that utilises the Yoast SEO WordPress plugin, including Yoast’s own website.

These URLs lead to identical Yoast XML sitemaps:




Sitemap Bug Not Limited to Yoast

What’s really stranger is that the Yoast sitemap bug isn’t exclusive to Yoast.

Many other SEO plugins include a similar flaw (but not in all of them).

It’s strange that a flaw in numerous SEO plugins causes them to behave in the same way.

It’s worth noting that plugin developers are obligated by the WordPress open source license, which states that WordPress plugins and themes are considered derivative works. 

WordPress Sitemap Bugs Not Everywhere

Brenda Malone investigated the problem and discovered that some SEO plugins appear to be free of the flaw.

The following SEO Plugins generate sitemaps correctly:

  • SEO Ultimate PRO WordPress Plugin
  • Squirrly SEO

How Big of a Problem is This?

Making things simple for search engines is the finest SEO approach.

The more flaws that are added, the more likely it is that search engine bots may trip over them, causing unanticipated problems, especially if the problem is compounded by other errors on the site.

SEO stands for search engine optimization. It is better for SEO if you make it easier for search engines to crawl and discover site pages.

Making mistakes is the polar opposite of optimizing. The more errors a website makes, the less optimized it becomes.

In terms of SEO, one may argue that these issues have a minor impact and that the site can continue to limp along and run normally despite them.

However, errors are still the polar opposite of SEO.

Rishabh Kolhe
Rishabh Kolhe

I am the founder of WealthyWork, I started my digital marketing journey in 2017. First, I started my career with SEO in Culturelligence, then after some time, I learned more about Digital Marketing. I worked as a Digital Marketer with Agile PeopleOps, a US-based HR organization. Now I am working in WealthyWork, We all specializing in Digital Marketing Services.

Articles: 101