My .htaccess file is correct, but turning On Search Engine Friendly (SEF) still doesn't work
This can be caused by one of two issues: 1) the main web server configuration does NOT allow overriding settings (AllowOverride) which requires changing the server configuration, or 2) on some (apache based) servers, the configuration requires adding an additional line to your .htaccess file if your site is within a subfolder of the root web folder. The entry is 'RewriteBase /subfolder-name/
'. This entry comes immediately after the '
RewriteEngine On
' line.
# Don't show directory directory listings. Options -Indexes # Route requests to Exponent. DirectoryIndex index.php # Various rewrite rules.RewriteEngine On # you may have to edit/uncomment the next line if working from a subfolder RewriteBase /subfolder-name/ ...
Loading Help