Joomla Web Hosting CanadaHide Joomla Subdirectory (Subfolder)Instead of installing Joomla in the web root (public_html), some like to put the Joomla files in a subfolder for better housekeeping. It's cleaner to see folders when you list publc_html and not all mod_rewrite can remove the subfolder from the url. http://domain.com/joomla/index.php Below are two different examples. If one does not work try the other. Using bits of each might work too.
Example1:1. edit the file joomla/configuration.php. In Joomla 1.5 var live_site is empty by defaultChange var live_site = ''; To var live_site = 'http://www.domain.com'; (In Joomla 1.0 you would be looking in the same file for $mosConfig_live_site =)
2. Edit or create the file named .htaccess (invisible files begin with a period) in your webroot (not the one in the joomla subdirectory) and change its content to:
Options +FollowSymlinks
#Replace domain.ca with your domain and subdir with the name of the subdirectory in which you have installed Joomla. ------------------------------------------------------------------------------------------------- Example 2:The example below does not require listing of folders to be omitted and only affects specified domain, but did not work for me in IE8.
1. edit the file joomla/configuration.php. In Joomla 1.5 var live_site is empty by defaultChange var live_site = ''; To var live_site = 'http://domain.com'; 2. Edit or create the file named .htaccess (invisible files begin with a period) in your webroot (not the one in the joomla subdirectory) and change its content to: Options +FollowSymlinks # Redirect to the Joomla root folder # Only apply to URLs on this domain # Only apply to URLs that aren't already under folder ![]() Best Canadian Web Host for Joomla Our Latest Joomla News |




