Skip to content

Extension-free URLs don't resolve as per the document

Documented behavior

https://docs.gitlab.com/ee/user/project/pages/introduction.html#resolving-ambiguous-urls

public/
├─┬ index.html
│ ├ data.html
│ └ info.html

├── data/
│   └── index.html
├── info/
│   └── details.html
└── other/
    └── index.html
URL path HTTP response File served
/data 200 OK public/data/index.html
/data/ 200 OK public/data/index.html
/data.html 200 OK public/data.html

Actual behavior

URL path HTTP response File served
/data 302 to /data/ public/data/index.html

So, this is affecting SEO and clean URL

Expected behavior

As per the documented behavior, as that's clean and similar to GitHub

Possible related tickets