Automattic / Automattic/jetpack
Feature Request: Post Exclusion for Sitemaps
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
We currently have these two sitemap filters:
- [`jetpack_sitemap_skip_post`](https://github.com/Automattic/jetpack/blob/12648fad888d48e2647b1a2aa07e756035e6f2ee/modules/sitemaps/sitemap-builder.php#L993)
- [`jetpack_sitemap_news_skip_post`](https://github.com/Automattic/jetpack/blob/12648fad888d48e2647b1a2aa07e756035e6f2ee/modules/sitemaps/sitemap-builder.php#L1229)
A nice addition might be something in the Post/Page UI, such as:

Contributor guide
Research direction
Start with modules/sitemaps/sitemap-builder.php, especially the existing jetpack_sitemap_skip_post and jetpack_sitemap_news_skip_post filters. Then inspect the Post/Page UI context suggested by the issue and its screenshot. Done means providing a decided, working way to exclude selected posts or pages from sitemaps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100