Opened 15 years ago
Last modified 6 weeks ago
#15953 reviewing feature request
when category slug is changed, old uri also should redirect to new, as post uris do
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Permalinks | Keywords: | has-patch dev-feedback has-unit-tests |
| Focuses: | Cc: |
Description
when category slug is changed, old uri also should redirect to new, as post uris do
Attachments (1)
Change History (19)
#2
@
15 years ago
- Component changed from General to Permalinks
- Milestone changed from Awaiting Review to Future Release
- Type changed from enhancement to feature request
#6
@
11 years ago
- Version 3.0.1 deleted
Now we have term meta this should be achievable.
Redirects for posts are handled in wp_old_slug_redirect().
#7
@
9 years ago
- Keywords needs-patch needs-unit-tests removed
Attached a patch above with functionality and the unit tests for it
This ticket was mentioned in Slack in #core by swissspidy. View the logs.
8 years ago
#16
@
3 years ago
Thanks, @SergeyBiryukov .
I searched before opening my ticket but didn't come across this one.
This ticket is 12 years old 😅
I hope it will be picked up soon.
This is one of those things which not many people notice, but that can make a significant SEO impact I believe.
Also, the ticket mentions the general term "category". I hope it will be designed for all taxonomies. In my case, WooCommerce attribute terms.
Thanks for your work!
#17
@
4 months ago
- Keywords needs-refresh added; needs-testing removed
I attempted to apply the latest patch against current trunk (7.0-alpha-61215-src), but it does not apply cleanly.
The following files had conflicts:
- src/wp-includes/default-filters.php (.rej created)
- src/wp-includes/taxonomy.php (.rej created)
Because the patch cannot be applied, testing the patch itself is not possible.
However, I can still reproduce the original issue on trunk, so the bug appears to still exist.
Removing needs-testing since the current patch cannot be tested, and adding needs-refresh.
This ticket was mentioned in PR #11664 on WordPress/wordpress-develop by @sukhendu2002.
6 weeks ago
#18
- Keywords needs-refresh removed
Trac ticket: https://core.trac.wordpress.org/ticket/15953
Related: #4328