Find and replace for WordPress with a text editor

You can replace data within a database, such as the domain name, by exporting it and doing a "Find & Replace" with a text editor.

  1. Export your WordPress Database.
    Warning: Make two exports and keep one as a backup in the event you need to restore to the original state.
  2. Open the .sql file in a text editor, such as NotePad++ or Sublime Text.
  3. Access the 'Find & Replace' feature in the text editor (usually Ctrl + F).
  4. Enter the domain/data you want to replace in the Find field (or respective field).
  5. Enter your new domain/data in Replace field (or respective field).
  6. Run the 'Find & Replace'.
  7. Save the updated .sql file.
  8. Before importing the .sql file, you must drop the tables in your database.
  9. Import your database.

Your WordPress site will now be updated to use the new domain or data.

Next steps

More info

More info about WPPS.

Apakah Artikel Ini Berguna?
Terima kasih atas masukan Anda. Untuk berbicara dengan perwakilan layanan pelanggan, hubungi nomor ponsel dukungan atau gunakan opsi chatting di atas.
Senang bisa membantu! Ada hal lain yang dapat kami lakukan untuk Anda?
Maaf tentang hal tersebut. Sampaikan apa yang membuat Anda bingung atau mengapa solusi tersebut tidak mengatasi masalah Anda.