Downloads: 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
November 12th, 2006 at 6:26 am
[...] Search and Replace [...]
Guest
November 9th, 2006 at 8:05 pm
Hi Mark and thanks for your help–here’s a sample of the wackiness–it sounds like Anatomy of a Blog Move used the S&R plugin to fix a similar problem, so I’m terribly envious!–
“Merci ?ɬ� Lucinda, I hum while I pick dried rosemary needles from the keyboard?��Ǩ���Eloise’s afternoon effort at reducing the one to the many. And then type vigorously, seething, energized with angry?��Ǩ���and why? Because…” et cetera.
(Where the ???s were em-dashes.) I guess this can also be chalked up to “Unicode rogueness” but alas I’m having to go into each entry and change by hand. Such is life! Thanks for trying to troubleshoot anyway….
Guest
October 29th, 2006 at 5:06 am
This plugin is simply great! Saved me many hours doing the search and replace. Thanks.
October 29th, 2006 at 1:31 am
[...] In the last few minutes, using the ever-handy Search and Replace plugin, I think I managed to scrap all those rogue “apos” mentions and change some out-of-wack “?’’s caused by Unicode rogueness into the proper em dashes I love so much — booyeah! [...]
October 28th, 2006 at 6:11 pm
[...] Apologies that the transition hasn’t retained any comments. I asked around and there doesn’t appear to be any easy way to bring those over. Also, some of the formatting is wonky: I’ve noticed center-aligned pictures are aligned to the left, bold passages have lost their styling, and if you’re using Internet Explorer, converted apostrophes inexplicably show up as “apos”. Ugh. Fortunately, I did find a search and replace plugin I may put to good use. [...]
September 28th, 2006 at 12:02 pm
[...] Спасибо тому чуваку, который создал плагин Search And Replace. Дело в том, что когда я учился делать плаги к Словопечатнику, то написал один простенький, который добавлял к тексту группу xml-тегов, свои настройки. А при выводе текста он их очищал. Так вот, написал я его, включил, убедился, что он работает, и… забыл про него. [...]
Administrator
September 27th, 2006 at 1:11 pm
Hi unnarrator,
That sounds very strange. Could you do an export of your database (using the database plugin) and have a look at a post there? If possible, could you send me (or post a sample of) a snippet of a post from the database?
Sounds like you may have to do it manually. The plugin just does an SQL update command.
Guest
September 27th, 2006 at 1:01 pm
Worked perfectly for my purposes…. Thanks a lot!
Guest
September 22nd, 2006 at 6:52 pm
Maybe a better answer to your question is: the weird marks are there both inside the WP editor *and* on the pages themselves.
Guest
September 22nd, 2006 at 6:50 pm
Thanks for responding, Mark—when I downloaded my SQL db from one host, search-and-replaced all the URLs and so forth, and uploaded to the new host, all the diacriticals were inexplicably changed (and I use a lot of French in my posts…).
I could go into every entry and edit them, which works, and I’ve done about 50 of them; I just don’t want to do this for all the pages on the site, cos I’m lazy. :o)
Hope this makes sense. Example page at:
http://theunreliablenarrator.net/2006/07/15/tiny-times-goofed/