• I would like to clone my WordPress blog here: squashyfrog.com and have a copy here: koltregaskes.com.

    What I’ve down so far is backup ALL files from the first site (ie. downloaded all the files from my /squashyfrog/ directory), then upload them into the second site (ie. copied back to my /koltregaskes/ directory). I’ve updated the URLs in the database via myphpadmin and I’ve changed the tableprefix to koltregaskes_ instead of squashyfrog_.

    What has happened so far is that it’s partially copied the home page, which is what I was expecting. How do a copy all the database info from squashyfrog_ to koltregaskes_? Basically I want an exact copy of my site at squashyfrog.com to appear at koltregaskes.com. Then I will edit koltregaskes.com.

    Also, I tried the same thing at e-lusion.co.uk but that is just blank. Any ideas why?

Viewing 6 replies - 1 through 6 (of 6 total)
  • What I usually do to clone a site is this:

    1) copy all the files from old site into new site — but remember to change the wp-config.php file to reflect the new URL.

    2) backup entire database from old site with either phpMyAdmin or the wp-backup plugin.

    3) upload that database file into the database of the new site with phpMyAdmin.

    4) you may have to rebuild the permalinks through the WP admin panel.

    Sorry!

    I forgot to add a very important thing here — you also need to change references to the old URL in the database to the new URL.

    There is some explanation on how to do this on this site:
    https://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/

    You should also remember to turn off all plugins during this process too.

    Also see the Codex — there’s a section on moving a WP installation to a new site which has relevant material.

    Thread Starter koltregaskes

    (@koltregaskes)

    It’s the database that is the problem. I have only 1 database so how do I copy all the database entries with squashyfrog_ to koltregaskes_?

    You can use phpMyAdmin to backup the original database to your local computer. (There’s also a plugin for this — WP Backup.)

    Then, once you’ve set up your new cloned site, use phpMyAdmin to upload the database file from your computer (turn off your plugins first). The link I posted above is helpful, and so are the step-by-step instructions in the Codex (the instructions for moving a site to another URL are basically the same idea as cloning a site).

    Thread Starter koltregaskes

    (@koltregaskes)

    Sorry, I’ve had a look again but I must be going blind. Where does it tell me how to copy (upload and rename) my database entries?

    You just need to create a new table prefix like koltr_ instead of the default wp_, then the two databases can coexist peacefully. You will need to edit your wp-config.php file to indicate the table prefix for the new data.

    Aren’t you worried you might be penalized by Google for duplicate content if you did that tho (have duplicate blogs with mirrored content)? Just curious.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clone blog, pages, settings and all’ is closed to new replies.