How To Clone A WordPress Blog to another domain or URL
I created a blog for one of our customers, and I wanted to clone it to 2 other domains. I have spent the whole day creating and customizing it, so there was no way I was going to do it again. The first thing I did, of course, was to google it. I have spent 2 hours researching it and I was not happy with what I found: either not clear, or too complicated, or you had to pay for some software.
I decided to use two plugins:
- Ort Migrate.
- X-Cloner.
The first one did not like FTP username (it tested ok, but displayed error message on a real run), while the second created a nice backup, but did not clone it – just displayed the blog within my WP admin page and that’s it – no buttons to continue or any other clues. I skyped a friend, but his internet connection was rubbish at that time. Ok, calm down, I thought – let’s sleep on it.
The next day I used Google again, and … behold. I found this great video. Very easy to follow (for a technical guy like me, at least, and if you’re not technical, than don’t touch technical stuff
– or give it a go, why not?). Have a look:
- Compress your existing WP installation.
- Create a new database.
- Create a new database user and add it to the new database (make a note of all the names and passwords).
- Copy or move the compressed installation to the destination folder and unzip it.
- Go to PHPMyAdmin in Cpanel.
- Export the old database.
- Open the newly created database and import the old one here.
- In the new WP installation folder edit wp-config.php.
- Change database and username details to reflect the new ones you just created.
- Add the below code and modify the URL accordingly.
- Save the file.
- Test the new site.
define(‘WP_HOME’,'http://XYZ.com’);
define(‘WP_SITEURL’,'http://XYZ.com’);
I hope this will work for you as well as it did for me. The above scenario is for cloning withing the same hosting account. With two different hosting accounts you will need to log in to Cpanel and PHPMyAdmin twice.
Enjoy:
Tags:blog,change database,database user,destination folder,download,error message,Google,Happy,installation folder,internet,internet connection,Kamil,passwords,Skype,success,username details,video,WordPressThis entry was posted by Kamil K. on 24/11/2010 at 15:24, and is filed under Internet Marketing, Video. Follow any responses to this post through RSS 2.0.You can leave a response or trackback from your own site.
- Simple WordPress backup and cloning solution – finally a great plugin
- Or would they begin thinking things they’ve never thought before?
- Probably the best business opportunity of 2011
- Investing Opportunity Due Diligence Checklist – 19 questions you should ask before you invest
- This web page has a redirect loop – WordPress permalink issue
- Converting “Go to Webinar” video to MP4 and WMV with Expression Encoder 4
- How to transform all your relationships in 30 minutes with Gupta Guru
- How to go about Your first website webinar – hosting, domain, marketing, Word Press etc
- How to create a CV that guarantees interviews – CV Marketing webinar
- The missing piece to your wealth and happiness by Andy Shaw


