![]() |
How to use one CI within more than one website - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to use one CI within more than one website (/showthread.php?tid=33194) |
How to use one CI within more than one website - El Forum - 08-18-2010 [eluser]Byrro[/eluser] Hello, 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!.. |