Opened 3 weeks ago
Closed 2 weeks ago
#8268 closed defect (bug) (fixed)
Legacy /extend/themes/{slug} URLs return 404 instead of redirecting to /themes/{slug}/
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Theme Directory | Keywords: | |
| Cc: |
Description
Legacy /extend/themes/{slug} URLs from the pre-2013 directory structure return 404 instead of redirecting to their current canonical paths under /themes/{slug}/.
Steps to reproduce
- Visit https://wordpress.org/extend/themes/p2 → returns 404.
- Canonical URL https://wordpress.org/themes/p2/ works.
Impact
Old blog posts and external links across the web still reference the /extend/themes/ pattern. Example: https://ma.tt/2009/05/how-p2-changed-automattic/ links to http://wordpress.org/extend/themes/p2.
Suggested fix
Add a 301 redirect for /extend/themes/(.+) → /themes/$1/. Worth also checking whether /extend/plugins/(.+) has the same gap and applying the same treatment.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 14924: