Forum Moderators: phranque
DirectoryIndex home.php index.php
But there's one part of htaccess which is not letting this happen:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
I am not very familliar with regex or htaccess so I am not sure how to get around this. Can someone help?
Regards,
R
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Note also that the change from positive-logic 'OR' to negative-logic 'AND' allowed your first rule to be deleted with no change to function.
Jim