Replace $JOOMLA_HOME/configuration.php with the file below and ‘off you go’, the Joomla! codebase can now serve multiple websites.
readme
On my Joomla! development site (my PC) I have created a configuration.php to make my Joomla! codebase multi sites enabled, that is several website aliases (configured in my httpd.conf) point to the same Joomla! directory. (Needless to say, use it at your own risk.)
Of course there are some limitations (implications):
All configured websites share the same $JOOMLA_HOME/administrator/components, $JOOMLA_HOME/components, $JOOMLA_HOME/mambots and $JOOMLA_HOME/modules files thus de-installing a component, module or mambot from one website makes the component unavailable for all websites. The Joomla! installer removes the file from the operating system. But since the ‘de-install’ wasn’t run against the database on another website alias the component (module or mambot) may seemavailable in the administrator panel.
Solution: I keep a keen eye on the components, modules and mambots I install and save (create) SQL files for manual
Make Joomla! multi sites enabled.
Replace $JOOMLA_HOME/configuration.php with the file below and ‘off you go’, the Joomla! codebase can now serve multiple websites.
readme
On my Joomla! development site (my PC) I have created a configuration.php to make my Joomla! codebase multi sites enabled, that is several website aliases (configured in my httpd.conf) point to the same Joomla! directory. (Needless to say, use it at your own risk.)
Of course there are some limitations (implications):
All configured websites share the same $JOOMLA_HOME/administrator/components, $JOOMLA_HOME/components, $JOOMLA_HOME/mambots and $JOOMLA_HOME/modules files thus de-installing a component, module or mambot from one website makes the component unavailable for all websites. The Joomla! installer removes the file from the operating system. But since the ‘de-install’ wasn’t run against the database on another website alias the component (module or mambot) may seemavailable in the administrator panel.Solution: I keep a keen eye on the components, modules and mambots I install and save (create) SQL files for manual
Read more →