Very often as freelancer I need to transfer wordpress blog. First I design blog on my server, than I add posts and content and on the and I need to transfer blog to new domain. So how to transfer blog from old domain to new domain ?
Let we see :
Step 1 : We have :
Old blog : www.oldblog.com/blog
New location : www.newblog.com
Copy all files from old blog directory www.oldblog.com/blog into your hard disk. Go to Phpmyadmin and export full database to your hard disk.For example wp1.sql is your exported file.
Step 2 : In this step you need to copy all data from your hard disk to new blog.
Step 4 :
Go to PhpMyAdmin of new site and import full wp1.sql file from old site. Now you created new database.
Now add in wp-config file this code below this details :
Step 6 :
Now go to new blog newblog.com and there log in into WordPress site. Afther login go to plugins section and install : Search and Replace plugin.
Search for : oldblog.com/blog
replace with : newblog.com
This plugin will replace all mysql database words where you have your old blog name.
This is it. your job is finish.
Please write your comment and ask for more help if you need.