#6427 closed enhancement (fixed)
Enable Sitemaps for developer.wordpress.org
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
Currently developer.wordpress.org doesn't have any Sitemap.xml's that are complete. We use Jetpack Sitemaps elsewhere on WordPress.org, but it was never enabled for developer.wordpress.org.
I've attempted to enable it, but it only shows a handful of pages and attachments.
This is because the majority of the content is stored in custom post types, and they need to be specifically included into the sitemaps through the jetpack_sitemap_post_types
filter.
- The handbook plugin can probably filter it to add it's post-type
- The coderef should probably add it's post-types to the index
Change History (7)
This ticket was mentioned in Slack in #forums by yui. View the logs.
15 months ago
#5
@
10 months ago
Developer post types (references): https://github.com/WordPress/wporg-developer/pull/451
#6
@
10 months ago
- Resolution set to fixed
- Status changed from new to closed
Sitemaps are now enabled, and contain all posts.
Unfortunately Jetpack Sitemaps have an issue with this number of posts; causing Nested Sitemap errors.
https://github.com/Automattic/jetpack/issues/7828
I'm closing this as fixed on this end, and will reference this as an issue on the above issue.
#7
@
10 months ago
As a workaround for the above nested sitemap issue, I've manually added https://developer.wordpress.org/sitemap-index-1.xml as a sitemap in Google Search Console, which has let it find the pages, and should mean it'll index them better.
The contents of the sitemap.xml before I disabled it:
5-7 probably need to be deleted.