Skip to content

New records classification and routes not compatible with GN generated sitemap for SEO #1443

@LHBruneton-C2C

Description

@LHBruneton-C2C

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

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions