Automattic / Automattic/jetpack
Don't include noindex pages in Sitemap
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
931303-zen
User reported that /register, /login and /lostpassword WP pages are marked as noindex but our sitemap is including them, causing errors in the Google Search Console.
Using Theme My Login plugin which is setting any login/register page to noindex:
https://github.com/wp-plugins/theme-my-login
https://wordpress.org/plugins/theme-my-login/
Can we automatically exclude noindex pages from the generated sitemap?
Contributor guide
Research direction
No file or test is named. Start by locating the generated sitemap and the handling of noindex metadata, then reproduce with /register, /login, and /lostpassword using Theme My Login; done means those noindex pages are absent and the sitemap no longer triggers Search Console errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100