Skip to content

Docs canonical URLs point to pages that return 404 #160

Closed

Description

@rennf93

Every page on https://guard-core.github.io/fastapi-guard/ declares a canonical URL that returns 404, for example https://guard-core.github.io/fastapi-guard/latest/<version>/. mike appends the deployed version to site_url (urljoin(site_url, version) in mike/mkdocs_plugin.py), and site_url in mkdocs.yml already ends in /latest/, so the result is /latest/<version>/. Search engines are told the real copy of each page is a URL that does not exist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions