Forum Moderators: phranque
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /index.php
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
DirectoryIndex index.htm <ifModule> containers. RewriteBase /index.php - looks incorrect too.
RewriteBase /index.php - looks incorrect too.
But I need the Wordpress site to function as it is, but, both index.htm and index.php need to function separately, with the index.htm taking preference for the root URL.
The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the directory name.... Several URLs may be given, in which case the server will return the first one that it finds.