[Bug]: Wrong redirect to version 2 for links without version
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Start by reproducing the redirects for updating.html, requirements.html, and folder-structure.html, then investigate the redirect configuration suggested by the .htaccess mention. Compare the current destinations with the expected 4.x documentation URLs. Done means versionless links consistently resolve to the corresponding 4.x pages.
Written by the indexing model from the issue text.
Description
Page URL
https://craftcms.com/docs/updating.html
Client
FireFox, Chrome, doesn't matter
Description
Details
I'd like to link to link a Craft CMS install guide without specifying the version.
Here is an example from Laravel: https://laravel.com/docs/deployment will redirect to https://laravel.com/docs/10.x/deployment.
It seem you have folks have implemented such behavior (.htaccess?), but it redirect to version 2.x of Craft CMS at least for some pages I tested:
Steps to reproduce the issue
- Open https://craftcms.com/docs/updating.html
- See it will redirect to https://craftcms.com/docs/2.x/updating.html
- Expected: https://craftcms.com/docs/4.x/updating.html
Same for:
https://craftcms.com/docs/requirements.html
https://craftcms.com/docs/folder-structure.html
…
- Dominant language
- JavaScript
- Stars
- 43
- Forks
- 160
- Avg merge
- 3h 57m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from craftcms/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Broken LinkOpenBroken Link
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
Broken LinkOpenBroken Link
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CopilotKit/aimock#491 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
keyxmakerx/Chronicle#967 ·
Maintainers usually reply within 1 day
-
good first issue hacktoberfest
Difficulty 1/5 Under an hour Newbie friendliness 92/100
RogueAlg0/taken#386 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
DietrichGebert/ponytail#978 ·
Maintainers usually reply within 2 days
-
bug component: bulk editor support
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Yoast/wordpress-seo#23669 ·
Maintainers usually reply within 3 days