You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
When filtering a sitemap to remove a large quantity of items and leaving a small number of items, the sitemap index may be missing additional sitemaps.
wpseo_sitemap_exclude_author (tested)
wpseo_exclude_from_sitemap_by_post_ids (untested but similar)
wpseo_exclude_from_sitemap_by_term_ids (untested but similar)
To Reproduce
Step-by-step reproduction instructions
Starting with a vanilla installation:
Create 1050+ users (I used FakerPress) so you have two author sitemaps
Install and activate Yoast SEO (free)
Go to Admin > Yoast SEO > Settings > Advanced > Author archives
Set 'Enable author archives' to Enabled
Set 'Show author archives in search results' to Enabled
Set 'Show author archives without posts in search results' to Enabled
Save settings
Go to sitemap_index.xml and see multiple author sitemaps (1000 on the first, remainder on the second)
Add code snippet (below) to remove all but 1 user from each sitemap
Go to sitemap_index.xml and see one author sitemap
Manually check the second author sitemap and see that it contains the other user
Expected results
Sitemap index would contain 1 author sitemap with all authors
OR
Sitemap index would contain link to each valid author sitemap
Actual results
Sitemap index contains 1 author sitemap with only authors from that sitemap. Additional author sitemaps load with the correct authors but are not shown in the index.
Please give us a description of what happened
When filtering a sitemap to remove a large quantity of items and leaving a small number of items, the sitemap index may be missing additional sitemaps.
To Reproduce
Step-by-step reproduction instructions
Starting with a vanilla installation:
Expected results
Sitemap index would contain 1 author sitemap with all authors
OR
Sitemap index would contain link to each valid author sitemap
Actual results
Sitemap index contains 1 author sitemap with only authors from that sitemap. Additional author sitemaps load with the correct authors but are not shown in the index.
Screenshots, screen recording, code snippet
Technical info
Code snippet
Used versions
The text was updated successfully, but these errors were encountered: