Skip to content

Interaction between redirects and trailing slashes #10962

Description

@jeanas

Details

Expected Result

There are two redirects on this test project (which is a copy of the Python Packaging User Guide where I'm experimenting with redirects):

  • Page redirect: /additional/guides/
  • Page redirect: /current//guides/tool-recommendations/

I expected redirects to work regardless of whether the URL has a final slash or not.

Actual Result

With this,

IOW, with the dirhtml builder of Sphinx, every moved page needs two redirects — one with trailing slash and one without.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions