Sitemap error: Missing XML tag

A sitemap is a page on your website that leads search engines to important pages on your site. One of the functionalities of the Yoast SEO plugin is that it allows you to easily add a sitemap to your website. In this article, we’ll discuss a common XML sitemap error in detail. Are you seeing the following sitemap error?

This required tag is missing. Please add it and resubmit.

This error appears when the sitemap contains zero items. To solve this, you should create content for the sitemap. However, if you know you have made content you should clear/flush your cache from your website, plugins, theme, server et cetera.

Are you getting a different error? Check out this article on common XML sitemap errors to see more errors, their causes, and their solutions.

This commonly happens with the News SEO sitemap when a site has not published a news article within the last two days. It may also appear with the Video SEO sitemap if no videos have been made.