WordPressTooling
NINJA Search & Replace
Run safe, serialization-aware search-and-replace across your database with a dry-run preview first — ideal after a domain or HTTPS migration.
// features
- Case-sensitive toggle. Switch between exact-case and case-insensitive matching per run.
- Confirmation guard. A live replace requires an explicit "I have a backup" checkbox before the button activates — accidental runs are prevented at the UI level.
- Batched processing. Rows are fetched in chunks of 500 via keyset pagination so even large tables (millions of rows) do not exhaust PHP memory.
- Prominent backup warning. A clearly visible banner reminds you to back up your database before every live run.
// overview
What it does
NINJA Search & Replace performs database-wide find-and-replace that correctly handles PHP serialized data (widgets, options, page-builder meta), so a URL or domain change does not corrupt your site. Always preview with a non-destructive dry run that counts matches per table, select exactly which tables to touch, and only then commit.
Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.
// adapt or extend
Need NINJA Search & Replace customized?
Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.