Author Topic: New Directory - Transfer site using old database help needed.  (Read 4021 times)

0 Members and 1 Guest are viewing this topic.

Offline sooner1

  • Newbie
  • *
  • Posts: 48
    • View Profile

 I recently installed a new clean version of 4images onto a different directory. I have a large 4images site running on the same server already.
What I would like to do is switch everything over to the new directory ie. using the same database as the original and transfer all images too.
I have searched this site for how to do this correctly without screwing everything up and I haven't found an answer.

Can anyone help me. What is the best way to do this?

Thanks

Offline † manurom

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • manurom's 4images templates
Re: New Directory - Transfer site using old database help needed.
« Reply #1 on: June 07, 2008, 09:14:22 AM »
Hello;
first of all, as usual, make a backup of your old website and its database.

Assuming you have not installed any MOD that alters the database,

  • Copy the whole directory "data" from your old site to the new one, overwriting the existing directory.
  • Copy the file "config.php" from your old site root to the new site root.

That should be enough to make your new site work, if you did not previously alter the database with any MOD.

Don't forget: backup, backup, and backup are you best friends!

Regards.