Best way to clone site?

Discussion in 'Technical Support' started by sitewonders, Jul 3, 2009.

Thread Status:
Not open for further replies.
  1. sitewonders Customer

    Hi Guys,

    As some of you know I have my classifieds on a sumdomain. I need to now copy the installation to another subdomain. How would I do this?

    Copy the files over

    Duplicate the database.

    Then change a reference in a file AND in the database?

    Many Thanks

    Gary
  2. bowers01 Genius At Work

    Do you want to run two different sites? or just move the location of the current one?
  3. sitewonders Customer

    Two different, UK and US :)
  4. bowers01 Genius At Work

    the way i would do it:
    Download content via ftp, upload to new position. Export the database, make a new one and import. Then go into administration and change the url.
    That should be it.
    Nick
  5. sitewonders Customer

    ok...but, how will i get to administration? Surely if I go to the admin link of the new copy of the site, it wont work? As the new site isnt pointing to the new database yet?
  6. bowers01 Genius At Work

    In Connections/classifieds.php
    it specifies the database details. You will need to update that for the new domain and reupload it.
    Nick
  7. sitewonders Customer

    Thanks, will try it, just need to finish the first installation, its not quite right!
  8. Lhotch curmudgeon

Thread Status:
Not open for further replies.

Share This Page