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 https://www.test.com/jml to https://www.test.com/ (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 (https://www.test.com/administrator) but not the frontend as it will still show https://www.test.com/jml/ 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 (https://www.test.com) - RewriteBase / (enabled) - cpanel doesn't have the feature to set root folder.
htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.test.com$
RewriteCond %{REQUEST_URI} !jml/
RewriteRule (.*) /jml/$1 [L]