How to Perform a WordPress Search and Replace

Recently, one of our users asked us how to run search and replace on WordPress database without writing any SQL code or using phpMyAdmin.

Using a Plugin

Go to WordPress Dashboard.

Step-1

Navigate to the Plugins -> Add New section.

Step-2

Search for the Better Search Replace plugin

Step-3

Then select Install Now.

Step-4

Click on the Activate button to activate the plugin

Step-5

Navigate to the Tools -> Better Search Replace section.

Step-6

In the Search/Replace section, you will need to enter all of the following

Step-7

Search for should have the word or phrase that you want to change.

Step-8

How to Perform a WordPress Search and Replace

Replace with should hold the word or phrase that will replace the original.

Step-9

Select tables function lets you choose which tables of your database you want to modify.

Step-10

Once you’re done, click Run Search/Replace.

Step-11

Know More Detail

Arrow