[wp-meta] [Making WordPress.org] #1880: Add redirect for old numeric topic slugs

Making WordPress.org noreply at wordpress.org
Sun Jul 31 14:36:12 UTC 2016

#1880: Add redirect for old numeric topic slugs
 Reporter:  ocean90               |      Owner:
     Type:  defect                |     Status:  new
 Priority:  normal                |  Milestone:
Component:  International Forums  |   Keywords:
 It seems like bbPress 1.x had a fallback to the topic ID, see

 A possible solution:

 * Store the old topic ID in a meta field `_old_topic_id`
 * In the redirect handler check if the slug of a topic is numeric
 * Query post meta for `_old_topic_id`
 * If meta exists redirect to new slug (cache result)
 * If it doesn't exist continue with the regular redirect (cache result)

Ticket URL: <https://meta.trac.wordpress.org/ticket/1880>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list