hlxsites / hlxsites/prisma-cloud-docs-website
URL path parts for section content
- Dominant language
- CSS
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
When clicking on a section in the left nav, content loads. However, the URL doesn't accurately (from a user perspective) reflect the "path" and exposes the underlying implementation details.
For example, open a browser tab, and go to this page: https://main--prisma-cloud-docs-website--hlxsites.hlx.live/prisma/prisma-cloud/en/enterprise-edition/content-collections/governance/governance
From the left nav, the path to the page appears to be: `Enterprise Edition > Content Collections > Governance`
However, the URL path is `enterprise-edition/content-collections/governance/governance`
The URL path should be `enterprise-edition/content-collections/governance`
Contributor guide
Research direction
Start by tracing how the left-nav section click constructs the URL path, using the example URL in the issue as the reproduction. Done means the Governance page URL is `enterprise-edition/content-collections/governance` rather than ending with the duplicated `governance` segment.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100