Skip to content

SEO for dartdoc - consider canonical pages, etc #1017

@kevmoo

Description

@kevmoo

#1016 made me think of this

Search engines like a clear notion of "the best" page where there is a sea of very similar pages.

When docs are indexed, I'm worried that the best page for pkg will change from /documentation/pkg/1.0.0 to /documentation/pkg/1.0.1 to /documentation/pkg/1.0.2

I think doc URLs should be like package URLs

https://pub.dartlang.org/packages/pana does not redirect to https://pub.dartlang.org/packages/pana/versions/0.10.2

Instead https://pub.dartlang.org/packages/pana/versions/0.10.2 has a cononical tag that points search engines back to the "main" page

<link rel="canonical" href="https://pub.dartlang.org/packages/pana"/>

We should do the same w/ docs.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions