How to enable SEF URLs when running Joomla using the server URL?
If you are using the server URL for your Joomla installation, you need an appropriate rewrite base added in the .htaccess file in order for SEF URLs to work properly. The .htaccess file can be modified using File Manager in cPanel and should include this line (below the commented out "#RewriteBase /" for a standard Joomla .htaccess file):
Where "username" is your actual cPanel username. You can find it in your User Area -> My Accounts -> Information & Settings page. Note that the RewriteBase should include the full relative path to the Joomla installation. If the installation is placed directly in the public_html directory, you should use:
If the Joomla installation is under a sub-directory, for example joomla/, under the public_html folder, you should use:
You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!