Product
Solutions
Compare
Resources
Get early access Talk to us
WordPress how-to

How to find and replace text across a whole WordPress site

A client renames a plan, changes a price or moves to a new email address, and suddenly the same few words need changing on every page. Ctrl+F gets you through the first page. This guide is about the other forty: why finding every copy is harder than it looks, the ways to do it, and how to do it safely.

The short version

WordPress has no built-in way to find and replace text across a whole site. You have three options:

  • Page by page in wp-admin, with Ctrl+F. Free and careful, but slow, and it only finds the words a visitor can see on the page in front of you.
  • A database search and replace plugin. Fast, but built for swapping web addresses after a move. Page builder layouts can break, and many tools skip builder pages entirely.
  • Find & Replace in WPCentrify. Every match on every page, including footers, menus and SEO fields, with a preview before and an undo after. See how it works.

Whichever you pick, take a backup first, preview the change, and check the live site afterwards.

A familiar week: when the plan changes halfway through

If you build or look after WordPress sites, you have had this week.

Monday, 9:12. The client emails: “We’re renaming the Starter plan to Essentials and the price goes from $49 to $59. Can you update the site today?” Simple enough. You open the pricing page, press Ctrl+F, type Starter, and there it is, three times. You open the page in the editor, find the same three spots in the page builder, change them, update, clear the cache and check. One page down.

Then you remember the plan is also on the home page. And the features page. And the comparison table. And four blog posts that explain which plan to choose. And the FAQ. Every one of them is the same routine: open the live page, Ctrl+F, note what you found, open the editor, hunt for the same words in a different interface, change, save, clear the cache, check again.

Monday, 16:40. You think you are done. Then the client forwards a screenshot from Google: the old price is still in the search result, because it lives in the SEO description, which no visitor ever sees and Ctrl+F never finds. And the “Choose Starter” button in the footer still says Starter, because the footer is a template you edit somewhere else entirely.

Thursday, 11:05. “Change of plan. Marketing wants to keep the Starter name after all, but call it Starter Plus, and the price is $55.” Every page you changed on Monday now needs changing again. This time you also have to remember which pages you already touched, which you missed, and whether the scheduled post going out next week still has the old name in it.

None of this is hard work. It is just a lot of it, and the hardest part is never being sure you got them all.

Why Ctrl+F can’t find every copy

Ctrl+F is a browser tool. It searches the one page you have open, and only the words that page shows. That covers the main text, but a site-wide wording change touches plenty of places a visitor never sees on screen:

Where words hide on a WordPress site, and whether Ctrl+F on the live page finds them
Where the words areCtrl+F on the live page?Where you edit it
Page and post textYes, one page at a timeThe page in the editor or page builder
Headers, footers and reusable blocksYes, but you edit them somewhere elseA template, a reusable block or the theme builder
SEO titles and meta descriptionsNo, they only show in GoogleYour SEO plugin’s box under each page
Link addresses (a button’s link)No, only the button labelThe button’s link setting
Image alt textNoThe image settings
Menu labelsYes, but edited in the menu screenAppearance, Menus or the site editor
Custom fieldsSometimes, depending on the themeThe custom fields box or the page builder
Drafts, private and scheduled postsNo, they are not on the live site yetThe editor

Three more things make it worse. The page builder editor rarely shows the words where the live page does, so you search twice for every match. A page cache can keep serving the old wording after you have changed it, so you cannot trust your own check until the cache is cleared. And text searches are fussy about punctuation: WordPress often saves curly quotes, dashes and spacing differently from how it shows them, so a sentence copied off the live page may not match what a database search is looking for.

The three ways to find and replace text in WordPress

WordPress itself has no site-wide find and replace. Some builders help inside a single page: Divi has a Find & Replace for the page you are editing, and Elementor’s Replace URL tool swaps web addresses, not words. For anything bigger, these are your options.

1. Page by page in wp-admin

Open each page, find the words, change them, save, repeat. It is free and you see every change as you make it, which is why most of us start here. The cost is time. Say it takes three minutes a page once you count opening the editor, finding the right widget, saving and checking. Forty pages is two hours, before the footer, the SEO descriptions and the round of changes on Thursday. And at the end you are still relying on memory to know you got them all.

2. A database search and replace plugin

Plugins in this group search the whole database and replace every match in one go. They are fast, and for their original job, changing every web address after moving a site to a new domain, they are the right tool. Developers do the same thing from the command line with WP-CLI.

For wording changes on a live client site, they have real drawbacks:

  • Page builders. Builders such as Elementor and Divi keep page content in their own formats, often with the same sentence in more than one place. Many search and replace tools skip builder pages entirely, and the rest can break a layout without warning.
  • No context. You usually see a count of rows, not the sentence each match sits in on its page, so it is hard to tell which matches you actually meant.
  • Undo means a backup. If the change was wrong, the fix is often restoring the whole database, which also throws away anything else that changed since.
  • Another plugin on every site. One more thing to install, update and remove on each client site.

If you go this way, take a full backup first, run the dry run or preview most of these tools offer, and try it on a staging copy before the live site.

3. Find & Replace from your WPCentrify dashboard

This is the reason we built WordPress Search and Replace into WPCentrify, as the Find & Replace tab. We kept getting the Monday email, and neither of the first two ways was good enough for a client’s live site. It searches a website from your WPCentrify dashboard and shows every match on its page, with the page’s address and the words around it, exactly as a visitor reads them.

It also looks where Ctrl+F cannot: headers, footers and reusable blocks, page and post titles and excerpts, SEO titles and meta descriptions from Yoast, Rank Math, SEOPress, The SEO Framework and Slim SEO, link addresses, image alt text, custom fields, menus, and every post type, published or not. Changes can be made from the dashboard on Gutenberg, the Classic editor, Elementor, Divi 4 and 5, WPBakery, Avada, Beaver Builder, Bricks, SiteOrigin, SeedProd, Enfold and Themify. Eight more builders, including Oxygen, Breakdance and Brizy, are find only for now: you see every match, and make the change in the builder.

How to find and replace text safely, step by step

Whichever tool you use, the same routine keeps a site-wide wording change safe. Here is how it looks with Find & Replace.

  1. Write down exactly what changes. The old words, the new words, and anything that must not change. “Starter” inside “Starter Plus” is a classic trap.
  2. Search for the old words. Type the word, phrase, price, phone number or old address. Capitals do not matter unless you tick match case, and you can limit it to whole words so “Starter” does not match “Starters”.
  3. Review every match in its sentence. Each result shows the page, its address and the words around the match, so you can see which ones you actually mean.
  4. Filter down to what you mean. Narrow by where on the page (visible text, links, alt text, SEO fields), kind of page, editor and status. “Replace all shown” only ever touches what the filters are showing.
  5. Preview, then replace. The confirmation shows how each changed sentence will read. Press Replace and watch the progress. Page caches are cleared after each change, so the new wording shows straight away.
  6. Keep the undo in your back pocket. Every replacement is kept in the website’s history for 90 days with an Undo button. When the client changes their mind on Thursday, you undo Monday’s run, or simply search for the new words and replace them again.

What changed for us

The Monday email now takes minutes, not an afternoon. One search, one look at the list, one press, and you can see every place the words were and that every one changed. How long a run takes still depends on the size of the site and how quickly its hosting responds, but it is never “most of the day” again.

The bigger change is confidence. We no longer end the job with “I think I got them all”. The list shows them all, including the SEO description and the footer button that used to slip through. And when the plan changes again on Thursday, it is a second search, not a second afternoon.

A few honest limits: it works one website at a time, widgets and the theme Customizer are not searched, words split across formatting (half a phone number in bold) are found but not changed, and very large searches stop at 5,000 matches and ask you to narrow down.

A checklist before your next site-wide wording change

  • Write down the old words, the new words, and the near-misses that must stay as they are.
  • Take a backup, or check that last night’s backup actually finished.
  • Search titles, SEO descriptions, menus, link addresses and alt text, not just page text.
  • Include drafts and scheduled posts, so the old wording does not come back next week.
  • Preview every change in its sentence before you replace anything.
  • Clear the page cache, then check the live site in a private window.
  • Search again for the old words to confirm nothing is left.
  • Tell the client what changed and where, with the list to prove it.
Answers

Frequently asked questions

For one page, open it in the editor and change the words by hand. For the whole site, use a tool that searches every page at once: a database search and replace plugin, WP-CLI, or Find & Replace in WPCentrify, which shows every match in its sentence, previews the change and lets you undo it afterwards.

Not for the whole site. WordPress can search your posts and pages, but it cannot replace words across them. Some page builders help within a single page, such as Divi’s Find & Replace, and Elementor’s Replace URL tool changes web addresses only.

No. Ctrl+F searches only the page open in your browser, and only the words that page shows. It cannot see SEO descriptions, link addresses, image alt text, drafts or scheduled posts, and you still have to find and change each match in the editor.

Inside one page, edit the widget or module directly; Divi also has a Find & Replace for the page you are editing. Across many pages, use a tool that understands page builders. Find & Replace in WPCentrify changes Elementor, Divi 4 and 5 and ten other editors from the dashboard, and keeps the layout exactly as it was.

It can be, if you take a full backup, use the dry run or preview, and test on a staging copy first. The risk is page builder content, which some tools skip and others can break, and the fact that undoing a mistake often means restoring the whole database.

Edit it page by page in your SEO plugin’s box and the image settings, or use a search that covers those fields. Find & Replace searches SEO titles and meta descriptions from Yoast, Rank Math, SEOPress, The SEO Framework and Slim SEO, along with link addresses, alt text, custom fields and menus.

Early access

Make the next Monday email a five-minute job

Every match on every page, a preview before you replace, and an undo for when the plan changes again.

Included in WPCentrify. Free during early access.