Changing Category Names without breaking links?
Hey all, thought I’d toss this out there to see if anyone has an easy solution. I’m in the process of restructuring a blog which will entail renaming categories, and moving some posts from under one category to another. Is there a plugin or easy to way to make sure none of the previous links will break?
I’ve done some googling and all I can seem to find are plugins for updating if you change the permalink structure. Unfortunately I’m keeping the same structure, just renaming/moving things.
Suggestions?
Mark 3:25 pm on May 17, 2010 Permalink
if you are using the get_permalink($id) and get_category_link($id) functions then nothing will break. If they are hard-coded paths then you’re SOL
61pixels 7:42 am on May 18, 2010 Permalink
Update, guess you learn something new everyday. Apparently WordPress has something built in to handle this. I changed all of my category names and moved categories around to different containers, and the old original links still work just fine. Pretty cool. I’m just curious if they are doing 301 redirects automatically or it’s something else going on.