Skip to content

Incorrect resolution of extensionless documentation URLsΒ #443

@JiyaGupta-cs

Description

@JiyaGupta-cs

Bug Report πŸ›

Links from https://templates.accordproject.org that point to documentation pages under https://docs.accordproject.org/docs/ are not resolving correctly.

Specifically, the following links are expected to land on individual documentation pages but instead redirect users to the docs root (https://docs.accordproject.org):

https://docs.accordproject.org/docs/started-hello

https://docs.accordproject.org/docs/tutorial-nodejs

The actual, valid pages exist at:

https://docs.accordproject.org/docs/started-hello.html

https://docs.accordproject.org/docs/tutorial-nodejs.html

However, the URLs without the .html extension are not being resolved or redirected to their corresponding HTML files.

Expected Behavior

Requests to documentation links should be correctly resolved.

Current Behavior

When navigating from https://templates.accordproject.org the user is redirected to the documentation root instead of the intended documentation pages. The actual pages only load when the .html extension is explicitly included.

Steps to Reproduce

  1. Open https://templates.accordproject.org/

  2. Go to any template page and click on a links such as:
    use a template or integrate it within your application.

  3. Observe that the browser is redirected to https://docs.accordproject.org instead of the expected documentation page.

Context (Environment)

This breaks direct navigation from the templates site to specific documentation pages, causing users to lose context and requiring manual URL correction to access the intended content.

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