About empty categories
-
Hi, I’ve enabled an option to exclude empty categories (without posts) from XML-sitemap. However, on my website I have several categories with subcategories inside. And I never choose categories for posts – I only choose subcategories. Categories are used as an empty container for subcategories.
For example, I have a category “Randomizers”. And inside I have subcategories “Name randomizers”, “Character randomizers” etc, which have posts inside. So, Rank Math SEO automatically exludes “Randomizers” category from sitemap because it has to be empty. However, it is not empty – WordPress (or my theme?) automatically collects all posts from subcategories inside a category.
So now the category page is not empty, but it is exluded from sitemap, because Rank Math SEO thinks it’s empty. And search crawlers try to add some categories for indexation, but they don’t find them in sitemap.
My question: is it an expected behaviour from your plugin? Or it has to include these categories in sitemap, because they are not empty?
You must be logged in to reply to this topic.