Software: Search and Replace Wordpress Plugin (1.1)
This is a plugin for Wordpress to allow you to search and replace text across all your posts.
This plugin is for Wordpress 1.5 or better (including 2.0).
It is uses SQL replace so it’s fast but not very flexible.
Just download the zip, extract the searchandreplace.php file and place it in your wp-content/plugins and then in the wp-admin plugin interface active it.
You will then have a new panel in your “Manage” section called “Search and Replace”.
German langauge version available. Supplied by Frank
Persian language version avaliable. Supplied by Gonahkar
History
Version 1.1: 4th January 2006
Search and replace for comments and comment authors from Gonahkar added. Tested on Wordpress 2.0.
Version 1: 23rd March 2005
First version




One other enhancement might be to add the field “Category”…so that one could replace category names in all posts.
this is very useful plugin
thanks
sorry i need this plugin
tested it but not working in arabic
why?
any suggestion plz ?
thanks
Plugin saved my life… well, saved me from editing over 1,000 posts manually.
Cheers,
-Aaron
Frank? Hey I wrote the plugin, Frank translated it to German, Lex!
Frank - you are the wp god of my admiration. What a wonderful thing you have done. I’d moved batches of stuff over manually from a previous blogging app and had hideous amounts of stray stuff show up after. Manually replacing it was an odious chore, but you saved me so many hours, and it was all of it done in 15 minutes, download to complete.
Thank you so very much.
Wait, I solved the thing about the ‘p’ tag I addressed in my previous comment.
I read others had just the same problem. Too many ‘p’ tags in the posts instead of simple line-breaks. This has also the downside that p tags are autmatically closed by wordpress, creating weird formatting in certain situations.
Trying to solve it with ’search and replace’ plugin it’s the wrong approach!!
you can solve the problem this way:
just install the ‘text-control’ plugin for wordpress, then go into options and set your text formatting engine to ‘nl2br’, and ’smart pants’.
All the ‘p’ tags will be gone.
The problem is in the rendering wordpress does, not in some characters contained in the posts!
Hope this helps. It worked for me, big time.
This plugin seems great, but I would like to replace the ‘carriage return’ & ‘new line’ characters that Wordpress converts into the ‘p’ tag.
After importing from blogger a bunch of posts, I got a lot of those ‘p’ in the wrong places. I might be able to replace at least one of them which comes always before a certain tag and really shouldn’t be there, but search and replace doesn’t seem to work with the ‘\n’ and ‘\r’ special characters. The ‘p’ tag doesn’t seem to be there at all, since it is added by wordpress only later, in the rendering of the page.
So how can I get search and replace to work on those ‘new paragraph’ chars?
Any workaround?
Thanks!
Great, am going to give this a shot
Hi Ajay D’Souza, it should still work in 1.5.2 AFAIK. It was working in 1.5 and it still works in 2.0.