Tag Archives: Kamil

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:

  1. Ort Migrate.
  2. 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:

  1. Compress your existing WP installation.
  2. Create a new database.
  3. Create a new database user and add it to the new database (make a note of all the names and passwords).
  4. Copy or move the compressed installation to the destination folder and unzip it.
  5. Go to PHPMyAdmin in Cpanel.
  6. Export the old database.
  7. Open the newly created database and import the old one here.
  8. In the new WP installation folder edit wp-config.php.
  9. Change database and username details to reflect the new ones you just created.
  10. Add the below code and modify the URL accordingly.
  11. Save the file.
  12. 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:

Would you allow yourself to enjoy them?

What if it was your downtime, your lounging-in-bed-too-long time, your walkabout time, and your blow-Friday-off time that made possible your greatest achievements? Would they still make you feel guilty, Kamil? Or would you allow yourself to enjoy them? About time – The Universe Even your watching-the-rain time, Kamil?

When in doubt, give, let them have it, surrender, make peace.

When in doubt, Kamil, give, let them have it, surrender, make peace. When there’s no doubt, Kamil, give, let them have it, surrender, make peace. Did I make life too easy? The Universe There’s no doubt who is number one in my book, Kamil… shhhhh!!!!!!!!!

How to Awaken Your Brain in 30 Seconds

This is a technique taught by Win Wenger … It’s simple: close your eyes and visualize in your mind that your head is about one inch bigger all around than it is. Actually *see* this in your mind’s eye. If you hold this image in your head for about 30 seconds straight it sends your Read More →