Copying a website in folders

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jun 04, 2013 8:03 pm
Reply with quote
Report this post
I am using the StoreBox template and I have created a website that I would like the same template installed in folders. Example:
Template.com - landing page
Template.com/site1
Template.com/site2
Template.com/site3

The template will be the same, I am switching out images, content and link structure.

Question(s):
Can I do this using the same db?
If so how?
If not, how would I go about doing this? Again, it is folders, not sub-domains.
Thanks!
User avatar
Senior Boarder

GK User
Tue Jun 04, 2013 8:18 pm
Reply with quote
Report this post
I would copy all the files to subdirectories and copy oryginal database (so each site has its own database), then just edit configuration.php in each folder and change public $db = '' to change database name.
To easy make export of current database - use phpMyAdmin's options export and import.
User avatar
Moderator


cron