Hi!
I've tried to search for this in the forum but I'm not getting results for this.
I want to remove /index.php from the url. So I've changed the URL rewrite in the Global Configuration.
Then I've added the following code to the .htaccess.txt file:
## No directory listings
<IfModule mod_autoindex.c>
IndexIgnore *
</IfModule>
## Mod_rewrite in use.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L,QSA]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s(.*)/index\.php [NC]
RewriteRule ^ %1 [R=301,L]
What am I doing wrong?
Thank's in advance