Skip to content

Add redirect for legacy addresses page#774

Open
PerceiveWorld wants to merge 2 commits into
craftcms:mainfrom
PerceiveWorld:fix-addresses-redirect-772
Open

Add redirect for legacy addresses page#774
PerceiveWorld wants to merge 2 commits into
craftcms:mainfrom
PerceiveWorld:fix-addresses-redirect-772

Conversation

@PerceiveWorld
Copy link
Copy Markdown

Summary

  • add a Netlify redirect for the legacy Craft 5 addresses URL
  • send /docs/5.x/addresses.html to the existing address field docs page

Fixes #772.

Checks

  • curl -I -L https://craftcms.com/docs/5.x/addresses.html currently returns 404
  • curl -I -L https://craftcms.com/docs/5.x/reference/field-types/addresses.html returns 200
  • verified branch diff only changes _redirects

@PerceiveWorld PerceiveWorld requested a review from a team as a code owner May 22, 2026 10:29
@netlify
Copy link
Copy Markdown

netlify Bot commented May 22, 2026

👷 Deploy request for craft-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 97de639

@AugustMiller
Copy link
Copy Markdown
Contributor

This redirects to the addresses field type, but the more general address element page is actually here. Do you remember where you found the broken link?

@PerceiveWorld
Copy link
Copy Markdown
Author

Thanks for checking. The source was #772, which only listed the legacy URL /docs/5.x/addresses.html without additional context.

I originally mapped it to the address field type page, but your point makes sense: the general address element page is the better redirect target for that legacy URL. I updated the redirect in 97de639 to point to /docs/5.x/reference/element-types/addresses.html.

@AugustMiller
Copy link
Copy Markdown
Contributor

Oh gosh, sorry—I saw the pink/purple pixel avatar and assumed you had also reported this! 🤦 I'll get this merged today. I want to make sure this is also working via the version switcher menu from 4.x → 5.x. ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken Link

2 participants