You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should set up our primary sitemap file as an index pointing to other sitemap files, so that different systems can manage their own sitemaps without interfering with each other.
The content you are editing has changed. Please copy your edits and refresh the page.
This will be a production change to Content Build and it should be tested and deployed with the care that entails.
Currently both Content Build and Next Build generate sitemaps for the content they each manage. However, they have no awareness of each other's content, so in order to generate a complete sitemap, we need to combine them.
Currently both Content Build and Next Build generate their sitemap to sitemap.xml, which contains a large number of URLs. This should be changed such that both systems generate their large sitemap file to a specifically named sitemap file:
Content Build generates sitemap-cb.xml
Next Build generates sitemap-nb.xml
Then, additionally, each system must generate a new sitemap.xml that points to each of these. This sitemap will be a 'sitemap index' that points to the two files above.
We should confirm that a sitemap index can contain a reference to a file that is not available and that this does not cause problems. Initially, va.gov will not have the Next Build version of the file available for loading.
Since there's not really a decision yet on which system will initially own the sitemap index at sitemap.xml, it is probably easiest for both systems to output the same index file.
The content you are editing has changed. Please copy your edits and refresh the page.
Requirements
We should set up our primary sitemap file as an index pointing to other sitemap files, so that different systems can manage their own sitemaps without interfering with each other.
Acceptance criteria
Background & implementation details
This will be a production change to Content Build and it should be tested and deployed with the care that entails.
Currently both Content Build and Next Build generate sitemaps for the content they each manage. However, they have no awareness of each other's content, so in order to generate a complete sitemap, we need to combine them.
Currently both Content Build and Next Build generate their sitemap to
sitemap.xml
, which contains a large number of URLs. This should be changed such that both systems generate their large sitemap file to a specifically named sitemap file:Then, additionally, each system must generate a new sitemap.xml that points to each of these. This sitemap will be a 'sitemap index' that points to the two files above.
See documentation on Sitemap indexes: https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps
We should confirm that a sitemap index can contain a reference to a file that is not available and that this does not cause problems. Initially, va.gov will not have the Next Build version of the file available for loading.
Since there's not really a decision yet on which system will initially own the sitemap index at sitemap.xml, it is probably easiest for both systems to output the same index file.
Implementation tasks
The text was updated successfully, but these errors were encountered: