how to do wordpress migration to new hosting service – This question always came to web developers. After searching on Internet I really did not found satisfied answer for this question. Using our steps wordpress migration to new hosting service or domain made easy
wordpress migration to new hosting service or domain
Earlier I did wordpress migration to new hosting service or new domain so many times. It was like 5 minutes job for any web developer. Don’t be afraid about wordpress migration at all.
Many people suggest to use wordpress utility which import and export xml. This is given by wordpress itself. But I strongly say don’t use that tool. that is not really full proof.
Just follow my steps to do wordpress migration to new hosting or domain.
1. First take backup of file system of your wordpress website using FTP credential.
2. Open wp-config.php file and change database name(what you want)
3. wp_options -Table name
option_name column – change(siteurl and home)
4. wp_blogs- Table name
domain column – change to your domain name
5. wp_site- Table name
domain column – change to your domain name
6. wp_usermeta
meta_key column – change(source_domain)
Most important part of migration. Fixing the image path of wordpress website
7. Just run following query using phpmyadmin or command prompt and any sql editor.
UPDATE wp_posts SET post_content = REPLACE(post_content, ’NEW_DOMAIN.com’, ‘OLD_DOMAIN.com’);
For changing the mysql queries you can use the following URL:
https://purabtech.in/mysql-queries-wordpress-website-migration/
Follow above steps and your are done with migration.
That sit!
Nice post. I was really worried about how to migrate to new domain. Thanks for your post