Skip to content

make sitemapindex valid: only include *same site* sitemaps #145

Open
@orbeckst

Description

@orbeckst

According to https://www.sitemaps.org/protocol.html#index

Note: A Sitemap index file can only specify Sitemaps that are found on the same site as the Sitemap index file. For example, http://www.yoursite.com/sitemap_index.xml can include Sitemaps on http://www.yoursite.com but not on http://www.example.com or http://yourhost.yoursite.com.

That means we cannot include docs.mdanalysis.org, userguide.mdanalysis.org with www.mdanalysis.org in the sitemapindex.xml.

Apparently, the algolia crawler does not care and still finds them (see algolia/docsearch-configs#2103) but technically this is not legal and we should change it

  • remove the doc and userguide sitemaps from the index
  • add them separately to the algolia config

Metadata

Metadata

Assignees

No one assigned

    Labels

    searchsite search, SEO

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions