P80b Better Search Replace

Page no: P80b

Page no: Plug80b

WordPress plugin directory: Better Search Replace



George Dorgan Comment by
George Dorgan
My articles
Follow on:

Review …

When moving your WordPress site to a new domain or server, you will likely run into a need to run a search/replace on the database for everything to work correctly. Fortunately, there are several plugins available for this task, however, all have a different approach to a few key features. This plugin consolidates the best features from these plugins, incorporating the following features in a simple, ad-free plugin:

  • Serialization support for all tables
  • The ability to select specific tables
  • The ability to run a “dry run” to see how many fields will be updated
  • No server requirements aside from a running installation of WordPress
  • WordPress Multisite support

Premium features available in the Pro version:

  • View exactly what changed during a search/replace
  • Backup and import the database while running a search/replace
  • Priority email support from the developer of the plugin
  • Save or load custom profiles for quickly repeating a search/replace in the future
  • Support and updates for 1 year

Learn more about Better Search Replace Pro

The search/replace functionality is heavily based on interconnect/it’s great and open-source Search Replace DB script, modified to use WordPress native database functions to ensure compatibility.

Supported Languages

  • English
  • French
  • German
  • Spanish

Want to contribute?

Feel free to open an issue or submit a pull request on GitHub.




As opposed to Regular Expression Replace, it replaces all occurrences on a database table.


The minimal introduction for regular expression is given here on Alien Coders.


Need for replacing external URL by internal URLs.

Replace “http://wordpress-pro.com/blog/”   by      “/”

We do not know yet if the page http://wordpress-pro.com/blog/ will be replaced by a different URL one day. Therefore we use only internal URLs for internal references. This includes the links to the images inside the page/post. On this page, for example, we use a Custom URL
/wp-content/uploads/2015/05/Regular-Expressions.png   instead of the
Media URL /wp-content/uploads/2015/05/Regular-Expressions.png


See more for Plugins