Update WordPress URLS in Database When Site is Moved to new path


this is post for anyone needs to move his WordPress website from URL to another URL.

It’s simple and easy.

  1. copy the folder which contains the WordPress website installation.
  2. open the old hosting phpmyadmin and export the database of the wordpress website
  3. paste it in the new location
  4. open the new hosting location phpmyadmin and create a new database with the name of the WordPress website
  5. import the database to the new hosting
  6. in MYsql editor in  phpmyadmin type this queries by replacing OLD_URL and NEW_URL



Leave a Reply

Your email address will not be published. Required fields are marked *