• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use one CI within more than one website


I´m a little bit experienced in PHP but just starting with CI, my first framework. I´d like to know if it´s possible to use the same CI core to more than one website. Let me explain my self better...

I have one server that hosts websites for my clients. Each website have it´s own domain. When the visitor types www.my-client.com or www.my-other-client.com, I´d like CI to call always the same methods and models, but to call the views dinamically depending on which website the visitor are accessing. Ultimately, I´d like the URLs and links shown to the visitor to be personalized to each website (my-client.com/products/show/123 or my-other-client.com/products/show/123).

Would it be possible? How can I do this?

Thank you very much!..

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.