Search & Replace

Description

With Search & Replace you can search for everything and replace this with everything but before you do this you can easily create a simple database backup and restore it.

For avoiding problem please keep in mind that this plugin search and replace strictly what is specified in “Replace With”.
Common error example:
Search For: http://web.com/wordpress/
Replace With: http://neuweb.com/wordpress
The url become something like: http://neuweb.com/wordpresscontent/…

Correct “Replace with”:
Search For: http://web.com/wordpress/
Replace With: http://neuweb.com/wordpress/
The url become something like: http://neuweb.com/wordpress/content/…

We have implemented special features!

The first one is “Replace a Domain / URL” that is useful for a quick and simple transfer or a migration of a WordPress site.
The second feature is full support for serialized data. There are a lot more features – check them out! 🙂

Our goal with this plugin is to give you a good solution for manipulating your data for both Developers and Users of WordPress.

Note: This plugin requires PHP 5.6 or higher to be activated.

Checkout our GitHub Repository

Features

  • Search & replace data in your WordPress database
  • Change domain/URL of WordPress installation
  • Handle serialized data
  • Choose dry run or download SQL file
  • Change table prefix
  • Backup & restore your database
  • WordPress Multisite support
  • Localized and ready for your own language

Crafted by Inpsyde

The team at Inpsyde is engineering the web and WordPress since 2006.

Donation?

You want to donate – we prefer a positive review, not more.

Screenshots

  • Search and Replace
  • Replace Domain/URL
  • Restore Database
  • Backup Database
  • Result screen after search or search and replace

Installation

Requirements

  • WordPress 4.0 (Single and Multisite)
  • PHP 5.6, newer PHP versions will work faster.

Reviews

07 Jolay 2020
When I was installing it I read this: Warning: This plugin has not been tested with your current version of WordPress. I have the latest version of WordPress 5.4.2. According to the developer it was Compatible up to: 5.2.7. Nevertheless I activated it because the description of its capabilities seduced me. It worked like a breeze. I tested all functions except one "Replace a Domain / URL". That too because it was not documented in detail. So I couldnt take a risk. But it has such remarkable features that I coul play it safe. Do mock Run. Get a preview. Take Backup before change. I have two websites both of which had domain changes. I took ginger steps, chose smaller data tables first. Made the changes. Tested the website. added bigger data sets. Made the changes. Tested it out. Then changed the entire site data, with search and replace. Also first I outputted the changed SQL file. And uploaded it. Next time I changed directly. Following this procedure, first site took me two days. In the second site I finished the whole job in one hour. And this was the free version. Need I say more.
16 Jona 2020
Not working at all Uncaught Error: Cannot access property started with '\0' in /www/htdocs/xxx/wp-content/plugins/search-and-replace/inc/Database/Replace.php:355 Stack trace:
09 Jona 2020
I have been using this plugin since around 2017/2018. It has saved me so much time especially when I need to make sitewide changes like a date or misspelling. Instead of having to go page-by-page or post-by-post, I can do it all in one fell swoop. You just have to be careful with this tool because it is super powerful. With great power comes great responsibility. If you're not careful, you could break your site. Not to worry because the plugin has a great feature where you can backup your site or export your database before doing final changes. You can even do a test search-and-replace.
26 May 2020
It really helped me to fix links that got outdated after a domain name change. Easy and effective. Thank you.
Read all 253 reviews

Contributors & Developers

“Search & Replace” is open source software. The following people have contributed to this plugin.

Contributors

“Search & Replace” has been translated into 10 locales. Thank you to the translators for their contributions.

Translate “Search & Replace” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

3.2.1 (2019-06-06)

  • Update readme for tested up WP versions
  • Add check for replace function to get more solid replace for custom tables. #132
  • Fix small typos
  • Fix Throwable because we set as minimum php 5.6

3.2.0 (2019-01-17)

  • Added CSV format alternative for search/replace #82.
  • Improve code structure, preparation for more solid UnitTests.
  • Improve Modal Table UI.
  • Added Multiline searching #119.
  • Fix several issues to run always with php 5.6 to 7.2.

v3.1.2 (2016-12-31)

  • hotfix: prevent declaration error with Requisite

v3.1.1 (2016-12-24)

  • Refactor Plugin loading #67
  • Display error notice is the search value the current domain and save changes to Database selected

v3.1.0 (2016-02-07)

  • Improve codquality
  • Prepared for localization (GlotPress)
  • Prevent doing idle prozesses if search & replace pattern the same
  • Implement better BigData handling.
  • Implement better tab and adminpage handling #33
  • Prepare the Plugin for localization, change Text-Domain.#47
  • Remove difference in wordings for buttons between descriptions.#46

v3.0.1 (2016-02-09)

  • Add support for Searchpattern with quotes. #40
  • Basic travis support for travis was added. #38
  • Fix Unittest #37

v3.0.0 (2016-01-29)

  • Refactor the plugin, new requirements, goal and result.
  • Thanks to Sven Hinse for help to maintain the plugin
  • Changeable table prefix on replace site URL tab enhancement
  • Implement database backup & import tab
  • Implement dry Run: Keep for search and replace
  • Prevent self destroy
  • Multisite basic support – show only tables of current site
  • Add special tab for replace the URL
  • Supports serialized data
  • Refactor the whole codebase

v2.7.1 (2015-05-28)

  • Fix for changes on database collate since WordPress version 4.2
  • Fix to reduce backslashes in search and replace string

v2.7.0 (2014-09-14)

  • Exclude serialized data from replace function (maybe we reduce the support)
  • Add hint, if is serialized data on the result table
  • Fix to see also the result case sensitive

v2.6.6 (09/05/2014)

  • Thanks to Ron Guerin for help to maintain the plugin
  • Fix to use $wpdb object for all database access
  • Fix inability to search and replace quoted strings
  • Output changes to clarify when searching vs. searching and replacing
  • Some changes to English strings and string identifiers

v2.6.5

  • Fix for change User-ID, add table comments

v2.6.4

  • Fix capability check, if the constant DISALLOW_FILE_EDIT is defined

v2.6.3 (10/10/2011)

  • filter for return values, html-filter
  • add belarussian language
  • add romanian language files

v2.6.2 (09/11/2011)

  • change right object for use the plugin also on WP smaller 3.0, include 2.9
  • add function search and replace in all tables of the database – special care!

v2.6.1 (01/25/2011)

  • Feature: Add Signups-Table for WP MU
  • Maintenance: check for tables, PHP Warning fix

v2.6.0 (01/03/2011)

  • Feature: add an new search for find strings (maybe a new way for search strings)
  • Maintenance: small changes on source

v2.5.1 (07/07/2010)

  • small changes for use in WP 3.0
    Status API Training Shop Blog About Pricing