Skip to content

Conversation

@tburry
Copy link
Contributor

@tburry tburry commented Aug 8, 2019

Adds a feature flag to render site maps that point to discussions directly rather than category archives (see SitemapsPlugin::DISCUSSION_SITE_MAPS) for the feature name.

The new sitemaps use the index to point to categories that page discussions by a limit of 1000 which is a number we may tweak. This ends up putting more entries in the site map index too (as much as ~6000 for some sites), but the hope is since the sitemap index is largely generated programmatically we should be okay with performance.

The reason for this change is:

  1. We get several complaints about the category archive pages not allowing indexing because that shows as an error in Google Webmaster tools after a more recent change.
  2. There is an edge case where we may want to disallow access to most of the site except discussions for certain SEO trickery.

This change is being put behind a feature flag because it impacts SEO and whenever we make a change to SEO related functionality we don’t know whether the change will be good, bad, or neutral so we have to take care and roll it out slowly.

Adds a feature flag to render site maps that point to discussions directly rather than category archives (see SitemapsPlugin::DISCUSSION_SITE_MAPS) for the feature name.

The reason for this change is:

1. We get several complaints about the category archive pages not allowing indexing because that shows as an error in Google Webmaster tools after a more recent change.
2. There is an edge case where we may want to disallow access to most of the site except discussions for certain SEO trickery.

This change is being put behind a feature flag because it impacts SEO and whenever we make a change to SEO related functionality we don’t know whether the change will be good, bad, or neutral so we have to take care and roll it out slowly.
@tburry
Copy link
Contributor Author

tburry commented Jun 5, 2020

I wonder if you need to merge master into this to get the build working?

@initvector initvector merged commit 0972e88 into master Jun 5, 2020
@initvector initvector deleted the feature/discussion-sitemaps.xml branch June 5, 2020 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants