Add archive to sitemap
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 975
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 36
Description
Is your feature request related to a problem? Please describe.
I have archive pages of custom post types that should be index by google but the single posts of this post types shouldn't be. I set this up in the Yoast settings but the archive doesn't appear in the sitemap. It only shows it up if I index all posts of this post type (what I don't want). Here are the settings:

Describe the solution you'd like
If this settings combination is set then it should add the archive page of this post type to the sitemap.
why you think the feature request is something we should consider for the Yoast SEO plugins?
Because I always had this usecase across different projects.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the custom post type archive and sitemap behavior described in the issue, including the Yoast settings combination where archives are indexed but single posts are not. Done means the post type archive appears in the sitemap under those settings without requiring single posts of that type to be indexed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100