Search and Replace WordPress Plugin
When I switched my permalinks from http://lee.org/blog/archives/… to http://lee.org/blog/… I had several links in my blog with the old “archives” links. Thankfully, the Permalink Redirect plugin redirects hits to those pages with “303” errors. But I still needed to change the 30 or so posts with those old links. Search and Replace WordPress Plugin to the rescue. Of course I backed up my database first but it worked peachy keen, changing links en-mass. Here’s the search-replace strings I used. Doing it this way kept some direct links I had to the “archives” folder intact.
href="http://lee.org/blog/archives/2008 --> href="http://lee.org/blog/2008
href="http://lee.org/blog/archives/2007 --> href="http://lee.org/blog/2007
href="http://lee.org/blog/archives/2006 --> href="http://lee.org/blog/2006
href="http://lee.org/blog/archives/2005 --> href="http://lee.org/blog/2005
etc…