PHPackages                             inpsyde/search-and-replace - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. inpsyde/search-and-replace

AbandonedWordpress-plugin[Database &amp; ORM](/categories/database)

inpsyde/search-and-replace
==========================

Search &amp; Replace data in your whole WordPress setup, backup and import your database, change table prefix or migrate your domain to another domain.

3.2.3(1y ago)905.2k↓50%30[25 issues](https://github.com/wp-media/search-and-replace/issues)GPL-2.0-or-laterPHPPHP &gt;=5.6CI failing

Since Feb 12Pushed 1y ago20 watchersCompare

[ Source](https://github.com/wp-media/search-and-replace)[ Packagist](https://packagist.org/packages/inpsyde/search-and-replace)[ Docs](https://github.com/inpsyde/search-and-replace/)[ RSS](/packages/inpsyde-search-and-replace/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (5)Versions (16)Used By (0)

Search &amp; Replace
====================

[](#search--replace)

UNMAINTAINED
------------

[](#unmaintained)

Note: This version of the plugin is not maintained anymore.

Description:
------------

[](#description)

With Search &amp; 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.

**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.

#### Features

[](#features)

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

#### Translations

[](#translations)

Get a translation, your language from the WordPress repository and/or [contribute your own language](https://translate.wordpress.org/projects/wp-plugins/search-and-replace)

Requirements:
-------------

[](#requirements)

PHP 5.6 + WordPress 4.x (might work with 3.x, but not tested yet)

Installation
------------

[](#installation)

1. Unpack the download package.
2. Upload the files to the /wp-content/plugins/ directory.
3. Activate the plugin in WordPress backend.

Usage
-----

[](#usage)

Go to `Tools -> Search & Replace` to view the plugin's user interface.

[![screenshot-6](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-6.png)](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-6.png)

#### *Backup Database* tab

[](#backup-database-tab)

**Urgent: Backup your database!**

Please **always** backup your database before performing search/replace operations.

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:

Replace With:

The url become something like: ...

Correct "Replace with":

Search For:

Replace With:

The url become something like: ...

**Multisite usage:**

If you are running a WordPress multisite and want to export the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only backup the tables of that subsite.

[![screenshot-4](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-4.png)](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-4.png)

#### *Replace Domain/URL* Tab

[](#replace-domainurl-tab)

If you want to migrate your site to another domain, please enter here your new domain URL, then download a sql file with the replaced URLs. Import this file into the database of your WordPress installation on your new domain.

Please enter the new domain name including "http://" or "https://", as shown in the 'search' field.

If you want to replace the database-prefix, check the checkbox "replace database prefix" and enter your new prefix in the filed below. Don't forget to set the new prefix in the wp-config.php of your new installation!

Press *Replace Domain URL* button to download your SQL file for migration.

**Multisite usage:**If you are running multisite and want to migrate the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only migrate the tables of that subsite. The plugin will also replace the domain names (without http(s)://) in the *wp\_blogs* table.

[![screenshot-2](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-2.png)](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-2.png)

#### *Search and Replace* Tab

[](#search-and-replace-tab)

**Please backup your database before any search/replace!**

Enter your search/replace values and select the tables you want to search. Click on "Do search/replace" to start the operation. By default, the checkbox "Dry run" is checked. In "dry run"- mode, you get a detailed preview of the changes. No changes will be written to the database. Please check always with "dry run" first. If you want to apply the changes, uncheck the "dry run"-button, choose if you want to download a sql dump with the changes, or write them into the database. Then click "do search/replace" again.

**Multisite usage:**

If you are running multisite and want to search the tables of all sites, run the plugin on the main site. Using the plugin on a subsite will only show the tables for that subsite.

[![screenshot-1](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-1.png)](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-1.png)

#### *Import SQL* tab

[](#import-sql-tab)

Import a SQL file or a gzipped SQL file into your database here. This may delete or change existing tables in your database. Please backup your database before doing this!

[![screenshot-3](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-3.png)](https://raw.githubusercontent.com/wp-media/search-and-replace/master/assets/wporg/screenshot-3.png)

### License

[](#license)

Good news, this plugin is free for everyone! Since it's released under the [GNU General Public License v2+ (or later)](http://www.gnu.org/licenses/gpl-2.0.html), you can use it free of charge on your personal or commercial blog.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community30

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~346 days

Recently: every ~699 days

Total

10

Last Release

630d ago

PHP version history (3 changes)3.0.1PHP &gt;=5.3

3.1.1PHP &gt;=5.4

3.2.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/003585053f7d5d2127d31d5a4e79ba309acc075154f5752de8f429ac42c54dbe?d=identicon)[Syde](/maintainers/Syde)

![](https://www.gravatar.com/avatar/0fa321f6c73e14c16d4aea0276673ce1e5d001e49062e32f3b8dc91f0ed10c1e?d=identicon)[bueltge](/maintainers/bueltge)

---

Top Contributors

[![bueltge](https://avatars.githubusercontent.com/u/133425?v=4)](https://github.com/bueltge "bueltge (191 commits)")[![derpixler](https://avatars.githubusercontent.com/u/809219?v=4)](https://github.com/derpixler "derpixler (145 commits)")[![widoz](https://avatars.githubusercontent.com/u/1917784?v=4)](https://github.com/widoz "widoz (75 commits)")[![s-hinse](https://avatars.githubusercontent.com/u/14902189?v=4)](https://github.com/s-hinse "s-hinse (41 commits)")[![Chrico](https://avatars.githubusercontent.com/u/3417446?v=4)](https://github.com/Chrico "Chrico (18 commits)")[![Giede](https://avatars.githubusercontent.com/u/12229674?v=4)](https://github.com/Giede "Giede (17 commits)")[![danielhuesken](https://avatars.githubusercontent.com/u/741847?v=4)](https://github.com/danielhuesken "danielhuesken (9 commits)")[![BrysonZimmerman](https://avatars.githubusercontent.com/u/1455077?v=4)](https://github.com/BrysonZimmerman "BrysonZimmerman (6 commits)")[![MathieuLamiot](https://avatars.githubusercontent.com/u/15233030?v=4)](https://github.com/MathieuLamiot "MathieuLamiot (6 commits)")[![SherylHohman](https://avatars.githubusercontent.com/u/8204778?v=4)](https://github.com/SherylHohman "SherylHohman (4 commits)")[![galileopress](https://avatars.githubusercontent.com/u/8616952?v=4)](https://github.com/galileopress "galileopress (3 commits)")[![bvdv](https://avatars.githubusercontent.com/u/31771402?v=4)](https://github.com/bvdv "bvdv (3 commits)")[![cuongdcdev](https://avatars.githubusercontent.com/u/12132077?v=4)](https://github.com/cuongdcdev "cuongdcdev (3 commits)")[![Narek13](https://avatars.githubusercontent.com/u/11319597?v=4)](https://github.com/Narek13 "Narek13 (3 commits)")[![ryantang333](https://avatars.githubusercontent.com/u/5669223?v=4)](https://github.com/ryantang333 "ryantang333 (2 commits)")[![MVarugh](https://avatars.githubusercontent.com/u/102949922?v=4)](https://github.com/MVarugh "MVarugh (2 commits)")[![narenin](https://avatars.githubusercontent.com/u/32844880?v=4)](https://github.com/narenin "narenin (1 commits)")[![DevIntact](https://avatars.githubusercontent.com/u/692733?v=4)](https://github.com/DevIntact "DevIntact (1 commits)")[![devbanana](https://avatars.githubusercontent.com/u/1540834?v=4)](https://github.com/devbanana "devbanana (1 commits)")[![tditlu](https://avatars.githubusercontent.com/u/1586901?v=4)](https://github.com/tditlu "tditlu (1 commits)")

---

Tags

databasereplacesearchwordpress-databasepluginwordpressdatabasemultisite

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/inpsyde-search-and-replace/health.svg)

```
[![Health](https://phpackages.com/badges/inpsyde-search-and-replace/health.svg)](https://phpackages.com/packages/inpsyde-search-and-replace)
```

###  Alternatives

[pixelstudio/wp-sync-db

WordPress plugin to sync database between different installs

472.5k1](/packages/pixelstudio-wp-sync-db)[williarin/wordpress-interop

Interoperability library to work with WordPress database in third party apps

6610.9k2](/packages/williarin-wordpress-interop)[friedolinfoerder/wp-activerecord

An ActiveRecord implementation for WordPress

237.2k](/packages/friedolinfoerder-wp-activerecord)[jsongerber/wp-sync-db

WP Sync DB eliminates the manual work of migrating a WP database.

181.8k](/packages/jsongerber-wp-sync-db)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
