htaccess to hide Joomla in public_html -> subfolder

by user2976317   Last Updated October 17, 2019 08:10 AM

I installed Joomla using a quickstart package and store the files in a subfolder (named: jml) in public_html/jml. I normally use the following commands to rewrite the url from to (to hide the "jml"). It works correctly with new Joomla installation, but with this quickstart package it can only hide the folder named "jml" for backend ( but not the frontend as it will still show even though all settings have been set accordingly. I'm not sure which file I need to check and not very familiar with htaccess. Can you advise how to fix this issue? Could it be file permission? Thanks

Settings: - Use URL Rewriting (enabled) - live_site (updated) - RewriteBase / (enabled) - cpanel doesn't have the feature to set root folder.


RewriteEngine on
RewriteCond %{HTTP_HOST} ^$ [NC,OR]
RewriteCond %{HTTP_HOST} ^$
RewriteCond %{REQUEST_URI} !jml/
RewriteRule (.*) /jml/$1 [L]

Related Questions

Updated February 28, 2016 01:04 AM

Updated June 09, 2015 13:04 PM

Updated May 06, 2016 08:04 AM

Updated October 11, 2016 09:04 AM

Updated March 28, 2015 06:03 AM