Change old URLs after the domain change

Two possible easy ways to replace Old website URL to New Website URL:

1/ Directly replace in SQL file:
Export the database and open SQL file. Manually find and replace old website URL with new website URL. Once replace is done, save and import database again.

2/ Use Migrate DB plugin:
Use the third-party WordPress plugin ‘WP Migrate DB‘ and find & replace both website URL and file path as shown in below screenshot. You can also replace other website data like admin email using this plugin.

https://wordpress.org/plugins/wp-migrate-db/

enter image description here

Leave a Comment