Make WordPress Core

Opened 14 years ago

Last modified 14 months ago

#15953 reviewing feature request

when category slug is changed, old uri also should redirect to new, as post uris do

Reported by: qdinar's profile qdinar Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: has-patch dev-feedback needs-testing has-unit-tests
Focuses: Cc:


when category slug is changed, old uri also should redirect to new, as post uris do

Attachments (1)

15953.patch (7.5 KB) - added by kevinlangleyjr 8 years ago.

Download all attachments as: .zip

Change History (17)

#2 @dd32
14 years ago

  • Component changed from General to Permalinks
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from enhancement to feature request

#3 @mikeschinkel
14 years ago

  • Cc mikeschinkel@… added

#4 @chriscct7
10 years ago

  • Keywords needs-patch added

#5 @chriscct7
9 years ago

  • Keywords needs-unit-tests added

#6 @johnbillion
9 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 @kevinlangleyjr
8 years ago

  • Keywords needs-patch needs-unit-tests removed

Attached a patch above with functionality and the unit tests for it

#8 @kevinlangleyjr
8 years ago

  • Keywords has-patch dev-feedback added

#9 @johnbillion
7 years ago

  • Keywords needs-testing has-unit-tests added

#10 @SergeyBiryukov
6 years ago

  • Milestone changed from Future Release to 5.0

Moving to handle along with #4328.

#11 @SergeyBiryukov
6 years ago

  • Milestone changed from 5.0 to 5.1

This ticket was mentioned in Slack in #core by swissspidy. View the logs.

6 years ago

#13 @pento
6 years ago

  • Milestone changed from 5.1 to Future Release

This needs testing and reviewing.

#14 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#15 @SergeyBiryukov
14 months ago

#58408 was marked as a duplicate.

#16 @asafm7
14 months 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!

Note: See TracTickets for help on using tickets.