iWorks WP Tools

Search & Replace

Safe search and replace for your database, with a full preview and one-click undo.

Download free plugin

Free. Works with WordPress 6.5 or later and PHP 7.4 or later. Version 1.2.19.

Search & Replace plugin hero image showing the preview interface in a branded browser frame.

Overview

Sooner or later every WordPress site needs a search and replace across its database. You move to a new domain, switch from http to https, rename your organisation, or have to fix an old email address that appears on two hundred pages. Most tools show you a count of matches, ask you to trust them, and offer no way back if something goes wrong.

iWorks Search & Replace shows you every change before it happens and lets you undo any run with one click. It understands the way WordPress really stores data, including the serialised data that page builders, widgets and theme options use, so changing text doesn't quietly break your settings.

Key features

  • See every change first. The preview isn't optional and isn't a paid extra. You get a row-by-row list showing the table, column and row, with the text before and after and the match highlighted. Nothing is written until you click Apply.
  • One-click undo. Before a value is changed, its original is saved. The History & undo tab lists your recent runs, each with an Undo button. If a value has been edited again since your run, Undo leaves it alone so newer work is never lost.
  • Change domain, done properly. Enter your old and new address and it finds every form the old one is stored in: http, https and protocol-relative links, the JSON-escaped links used by blocks and page builders, URL-encoded links, and both the www and non-www versions. Look-alikes such as old-site.com.au are left alone.
  • Safe with serialised data. Widget settings, theme options and many plugin settings are stored as serialised PHP. Change the text without fixing the stored lengths and they break. This plugin rewrites the lengths correctly, even for serialised data nested inside serialised data, and never loads your data as PHP objects, so no plugin code runs while it works.
  • Guard rails. Case sensitivity is explained in plain words. You're warned before very short searches that would match inside other words. Passwords, post GUIDs (unless you ask) and the plugin's own data are never changed. Regular expressions are there for developers but off by default. Large tables are processed in small batches, so nothing times out, and an interrupted run can be resumed.

How to use it

  1. Install and activate the plugin, then open iWorks Tools → Search & Replace.
  2. Choose Search & replace for text, or Change domain if you're moving address.
  3. Enter what to find and what to replace it with. The WordPress tables are ticked for you, and you can add any others you need.
  4. Press Preview and read through the list of changes, row by row.
  5. Happy with it? Press Apply. Not happy? Change your search and preview again.
  6. If you change your mind later, open History & undo and press Undo on that run.

For big changes on a live site, we always recommend a full database backup as well.

Privacy

Search & Replace makes no external requests and collects no data.

Where iWorks comes in

Search & Replace is the tool we use ourselves after every migration and rebrand. But a domain change touches far more than the database: DNS, SSL certificates, email, redirects from every old address so you keep your Google rankings, Search Console, analytics, and every third-party service that knows your old address. We can manage the whole change for you from start to finish, and make sure nothing is left pointing at the old site.

Rather spend your time on your organisation than on your website?

Our free tools show you what needs fixing. Our team can fix it, and keep it fixed. With an iWorks managed WordPress plan, you pay one fixed price per year and we look after your site for you: updates, security, speed, email delivery, accessibility and the health checks behind them. No surprise invoices, no chasing a developer, and a real Irish team who already knows your site when something goes wrong.

Ask us to manage your site

Prefer to talk? Call us on 01 9692014.