1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How Do I Clone a Wordpress site ?

Discussion in 'Blogging' started by SquirlyNutz, Jun 4, 2013.

  1. SquirlyNutz

    SquirlyNutz Power Member

    Joined:
    Feb 20, 2009
    Messages:
    671
    Likes Received:
    495
    Location:
    Toronto
    I want to copy my entire wordpress site onto another domain. How do i do this and keep everything in tact?
     
  2. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,344
    Likes Received:
    11,240
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page:
    Go to your WP dashboard
    Go to Tools/Export and tick "all files", after that just click Download export file
     
    • Thanks Thanks x 2
  3. shezboy

    shezboy Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,559
    Likes Received:
    5,027
    Gender:
    Male
    Location:
    UK
    • Thanks Thanks x 1
  4. Theodore

    Theodore Power Member

    Joined:
    Oct 13, 2009
    Messages:
    679
    Likes Received:
    266
    If I understand what your saying its pretty simple. Just back up your site and install it on your new domain. The only things you will need to change is the database details in the wp-config.php file if I'm correct, I'm more of a do'er then a shower as the saying goes :ranger:
     
    Last edited: Jun 4, 2013
  5. imupnow

    imupnow Regular Member

    Joined:
    Aug 31, 2012
    Messages:
    253
    Likes Received:
    114
    Occupation:
    Social Media Bots
    Location:
    New York
    can a backup plugin for your wordpress site and back eveything up and upload it to you new wordpress ftp
     
  6. bosmolskate

    bosmolskate Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 27, 2010
    Messages:
    1,452
    Likes Received:
    347
    Occupation:
    None
    Location:
    California
    WP-Twin plug in works like a charm :)
     
  7. goodsamaritan

    goodsamaritan Newbie

    Joined:
    Jun 3, 2013
    Messages:
    21
    Likes Received:
    3
    This is what I do:

    Assume you use cpanel:

    1. backup the entire mysql file dump using phpmyadmin.
    2. backup the entire directory via file manager by compressing in a .tar.gz file.
    3. download those #1 and #2 to your desktop hard drive
    4. create your new hosting account
    5. upload your compressed .tar.gz and extract exactly to your hosting directory using your file manager
    6. create a new database and username and password
    7. use phpmyadmin to import your backed up mysql dump file
    7. edit your wp-config.php to match your new database and username and password
    8. edit your wp-config.php to match your new domain name by adding:

    define('WP_HOME','httpnewdomain');
    define('WP_SITEURL','httpnewdomain');

    to the correct part of the file.

    9. Login to your httpnewdomain_com/wp-admin
    10. Install the plugin httpwordpress_org/plugins/search-and-replace/
    11. Search for all instances of your httpolddomain_com and replace with newdomain_com

    If you make a mistake in search and replace, all you need to do is drop the tables in your new database and import your backup again.

    I have done this many times.
     
    • Thanks Thanks x 1
  8. rohanblogger

    rohanblogger Newbie

    Joined:
    Jun 5, 2013
    Messages:
    4
    Likes Received:
    0
    Occupation:
    SEO Expert
    Location:
    India
    Home Page:
    agreed with skyrocketseo
     
  9. Andreea Leau

    Andreea Leau Registered Member

    Joined:
    Feb 6, 2013
    Messages:
    87
    Likes Received:
    10
    Occupation:
    Online Marketing and Community Management
    Location:
    România
    you just have to do a back up to your site, download it and upload it on the new domain.
     
  10. SquirlyNutz

    SquirlyNutz Power Member

    Joined:
    Feb 20, 2009
    Messages:
    671
    Likes Received:
    495
    Location:
    Toronto
    This seems to be the easiest method although all the links still contain my old domain and not sure how to change this and also i would like to use the searchj and replace plugin but i do not have a wordpress admin login.
     
  11. fmOzilla

    fmOzilla Power Member

    Joined:
    Nov 11, 2011
    Messages:
    714
    Likes Received:
    384
    Location:
    C:\Windows\System32
    I also want to know how to do it without admin loggings
     
  12. kindarthur

    kindarthur Jr. VIP Jr. VIP

    Joined:
    Nov 27, 2011
    Messages:
    2,212
    Likes Received:
    332
    I recommend you WP plugin- Duplicator. It serves as a simple backup utility....
     
  13. tech reaper

    tech reaper Newbie

    Joined:
    Jun 11, 2013
    Messages:
    37
    Likes Received:
    2
    Can you use HTTP Copier for this purpose?
     
  14. bertbaby

    bertbaby Elite Member

    Joined:
    Apr 15, 2009
    Messages:
    2,019
    Likes Received:
    1,496
    Occupation:
    Product marketing
    Location:
    USA
    Home Page:
    Has anybody had luck using the Duplicator plugin?
     
  15. flipitup

    flipitup Junior Member

    Joined:
    Apr 7, 2013
    Messages:
    106
    Likes Received:
    35
    ^ I'm using Duplicator a lot, and it's been great so far.

    What's your problem?
     
  16. visualization

    visualization BANNED BANNED

    Joined:
    Jul 24, 2013
    Messages:
    52
    Likes Received:
    8
    that is right, you can use a wordpress plugin to do this.
     
  17. Codythebest

    Codythebest Senior Member

    Joined:
    May 29, 2009
    Messages:
    1,138
    Likes Received:
    880
    Location:
    Fuerteventura
    Home Page:
    Waoww...You guys...so complicated...
    listen, you have your files in a files called ABC. Just point your your domain to that ABC file.
    You can even point hundreds of domain to the same ABC file...You NEVER touch your files...no need for back up, no need to clone or whatever...
     
  18. nnsjw702

    nnsjw702 Registered Member

    Joined:
    Jan 3, 2010
    Messages:
    77
    Likes Received:
    1
    I am using WP plugin. It works fine for me. Its the easy way to have a backup.