Portal Home > Knowledgebase > Articles Database > Multiple sites running off same code
Multiple sites running off same code
Posted by AimyThomas, 10-25-2012, 11:09 PM |
I m interested in making multiple websites, all with the same basic functionality but will have different designs or templates. is there a way they can all run off the same basic underlying code, but use different templates. what is the best method of doing this.
|
Posted by Website themes, 10-26-2012, 03:40 AM |
Depends on what content management system you want to use. WordPress and Drupal both offer this functionality out of the box.
|
Posted by Mark Muyskens, 10-26-2012, 03:44 AM |
You could add all them as aliases for the same site. You could then use a bit of PHP to detect what domain is being used to access the site, and then use an IF statement to define the relevant template files for that domain.
|
Add to Favourites Print this Article
Also Read