[wp-hackers] Why WP mantain old post slug?

Stefano Aglietti steagl4ml at gmail.com
Tue Aug 19 10:58:05 GMT 2008

A user asked me why even after chamging a post slufg the old one vas
still searchable and the old url still active redirectong to new post.

Checking i noticed that old post slug is saved on wp_postmeta table
using wp_old_slug" as key for the meta_key column. Why these data is
mantained? For what aim?

Toi avoid having old slug still "active" the only solution was to
deleta the row idirectly in the database.


Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
       http://www.wordpress-it.it (WordPress Italia)

More information about the wp-hackers mailing list