Search & Replace

Find and replace text or URLs across the WordPress database, Elementor layouts and files, preview every match, replace only what you select, and undo from history.

Partly Pro Elephanta → Search & Replace 2 min read Updated
On this page

Search & Replace finds text anywhere on your site and replaces it safely. You preview every match first, replace only what you select, and can undo from the history.

Preview matches before replacing.
Source Details Plan
Database Choose tables; serialized data stays valid Free
Elementor Elementor layouts of chosen post types, with Edit with Elementor links Pro
Files & folders Selected folders or a custom path Pro

#How to use it

  1. Enter the text to search for. For a replace, also enter the replacement.
  2. Choose the source(s) and narrow the tables, post types or folders.
  3. Click Search and review the matches.
  4. Tick the locations you want to change and click Replace selected.
  5. Something wrong? Open History and undo the replacement.
Make a backup first

Search & Replace can change a lot at once. Take a backup before large replacements such as changing your domain.

#Good to know

  • Tables without a single-column primary key are skipped and listed, so nothing is changed unsafely.
  • Very large result sets show the first locations. Narrow the search to see the rest.
  • You can stop a running search and see what was found so far.
  • Only administrators (network administrators on multisite) can use this tool.

#Common uses

  • Move from http:// to https://.
  • Change your domain after a migration.
  • Update a phone number, email address or company name everywhere.
  • Replace an old image URL in Elementor layouts.