Installing Joomla in subfolder
Repeatedly on the forums discussed the question: is it required to install Joomla in the root directory of the server, or can be installed in a subdirectory. In fact, it makes no difference, the only negative that occurs when installing in a subdirectory, this is what the site becomes available, not as site.ruAnd site.ru / joomla (Where it’s joomla folder name). However, this can easily be avoided by using mod_rewrite.
Suppose we have Joomla installed on the server is not in the root and the directory / joomla. In order that we might refer to the site without specifying the directory, you must put in the root of the server file. Htaccess as follows:
RewriteEngine On
RewriteCond%{SCRIPT_FILENAME} !-F
RewriteRule! ^ Joomla(/?|/.+)$ / Joomla%{REQUEST_URI} [L]
One must not forget to remove the / Joomla of variable $ MosConfig_live_site in the configuration file of Joomla.
