How to do wordpress migration to new hosting service or domain

Sponsors

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.

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. Dont 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 dont use that tool. that is not really fullproof.

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’);

Follow above steps and your are done with migration.

That sit!

Incoming search terms:

You may like following Articles!

15 thoughts on “How to do wordpress migration to new hosting service or domain

  1. Pingback: wp-popular.com » Blog Archive » How to do wordpress migration to new hosting service or domain | wordpressapi.com

  2. I can imagine the hard work it must have been needed to research for this post.All what i can say is just keep providing such post we all love it.And just to bring something to your notice,I have seen some blog providng your blog as source for this information.

  3. Pingback: How to do wordpress migration to new hosting service or domain « digcms

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>