Describe the bug
Since 2.6, the DataHub handles all kinds of records, with a new classification system: datasets, services and reuses. When displaying the page for a record, the route reflects this classification, with paths such as /dataset/{uuid}, /service/{uuid} and /reuse/{uuid}.
In the meantime, GeoNetwork can be configured to create a sitemap pointing to all of its records, with a pattern in the route. This pattern cannot change dynamically based on the DataHub record classification system.
Thus, GeoNetwork can only produce a sitemap pointing to /dataset/{uuid} but not the other routes.
Expected behaviour
It's not yet clear what's best in SEO terms. The simplest solution would be to redirect from a common path to each of the classification path, but redirecting might be interpreted as a wrong behavior from the crawling robots.
Screenshots
