I encounter some issues about the url that won't rewrite in frontend (only) of Joomla but I can't find where is the exact issue.
This is the situation:
- I installed a quickstart package in a folder named "en"
- I use htaccess codes to rewrite the url from test123.com/en to test123.com
RewriteEngine On
RewriteCond %{HTTP_HOST} ^test123.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.test123.com$
RewriteCond %{REQUEST_URI} !en/
RewriteRule (.*) en/$1 [L]
- Both Search Engine Friendly URLs & Use URL Rewriting are enabled in Joomla backend and I can see backend url has changed to test123.com (without en) - working for the backend.
- However, the frontend will still show the folder name in URL test123.com/en
We tried:
Update Joomla to the latest version (won't fix)
RewriteBase /en/ (won't fix)
RewriteBase / (won't fix)
This issue is affecting many of our components won't work properly untill we turn both settings off as it will return "file not found" at times or 404 error or won't redirect properly.
Please advise what could be the issue and any solution to fix it?
May I know which files are related to generate the front page?
In this case, how do we create a fresh Joomla core with all the data, templates, components, plugins, modules and settings stay the same?
Thanks
DocumentRoot
.