Making WordPress.org

Opened 14 months ago

Last modified 2 months ago

#6427 new enhancement

Enable Sitemaps for developer.wordpress.org

Reported by: dd32's profile 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 (2)

#1 @dd32
14 months ago

The contents of the sitemap.xml before I disabled it:

#	URL							Last Modified
1	https://developer.wordpress.org/			2017-07-13T16:12:31Z
2	https://developer.wordpress.org/reference/		2014-04-25T20:50:10Z
3	https://developer.wordpress.org/resource/		2014-08-26T20:30:23Z
4	https://developer.wordpress.org/resource/dashicons/	2020-04-20T13:59:30Z
5	https://developer.wordpress.org/resources/		2014-08-26T20:43:34Z
6	https://developer.wordpress.org/resources/dashtest/	2014-08-26T20:33:14Z
7	https://developer.wordpress.org/blog/			2015-06-10T22:33:09Z

5-7 probably need to be deleted.

This ticket was mentioned in Slack in #forums by yui. View the logs.


2 months ago

Note: See TracTickets for help on using tickets.