Skip to content

Sitemap.xml is not populating a site map #2103

@bradleycamacho

Description

@bradleycamacho

Description

GTS uses a search tool to allow our support engineers to search multiple content sources at once. The tool was able to index Product Docs using the sitemap here: https://docs.newrelic.com/sitemap.xml/ but that appears to be gone now.

We likely need to update https://www.gatsbyjs.com/plugins/gatsby-plugin-sitemap/ . Complicating things, it seems like there are some issues with Gatsby sitemaps in general: gatsbyjs/gatsby#31095

Expected

It seems like our current config for the sitemap is broken and doesn't generate the sitemap at https://docs.newrelic.com/sitemap/sitemap-index.xml

Eng work

  • add gatsby-plugin-sitemap gatsby-plugin-sitemap output option to theme gatsby-config.js to explicitly set file path.
  • ensure the <link rel="sitemap" /> in <head> has the correct href for the path we set.
  • ensure / update swiftype UI and google search console have correct sitemap path
  • bump all sites to use theme version this is deployed in

Metadata

Metadata

Assignees

Labels

buga bug or issueengissues related to site functionality that requires engineering

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions