Make WordPress Core

Opened 16 years ago

Last modified 5 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 Owned by: SergeyBiryukov
Priority: normal Milestone: Future Release
Component: Permalinks Version:
Severity: normal Keywords: has-patch dev-feedback has-unit-tests
Cc: Focuses:

Description

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 10 years ago.

Download all attachments as: .zip

Change History (19)

#2 @dd32
16 years ago

  • Component General → Permalinks
  • Milestone Awaiting Review → Future Release
  • Type enhancement → feature request

#3 @mikeschinkel
16 years ago

  • Cc mikeschinkel@… added

#4 @chriscct7
12 years ago

  • Keywords needs-patch added

#5 @chriscct7
11 years ago

  • Keywords needs-unit-tests added

#6 @johnbillion
11 years ago

  • Version 3.0.1

Now we have term meta this should be achievable.

Redirects for posts are handled in wp_old_slug_redirect().

#7 @kevinlangleyjr
10 years ago

  • Keywords needs-patch needs-unit-tests removed

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

#8 @kevinlangleyjr
10 years ago

  • Keywords has-patch dev-feedback added

#9 @johnbillion
9 years ago

  • Keywords needs-testing has-unit-tests added

#10 @SergeyBiryukov
9 years ago

  • Milestone Future Release → 5.0

Moving to handle along with #4328.

#11 @SergeyBiryukov
8 years ago

  • Milestone 5.0 → 5.1

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


8 years ago

#13 @pento
8 years ago

  • Milestone 5.1 → Future Release

This needs testing and reviewing.

#14 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Status new → reviewing

#15 @SergeyBiryukov
3 years ago

#58408 was marked as a duplicate.

#16 @asafm7
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 @huzaifaalmesbah
8 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.


5 months ago
#18

  • Keywords needs-refresh removed
Note: See TracTickets for help on using tickets.