Can someone help with .htaccess

Permalink 1 user found helpful
I need to have my index.htm load first in place of index.php, the index.htm links to index.php tho.
Do I use .htaccess?

Or is it a PHP thing?



Thanks for any help.

whatisacnc
 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
You don't need to do anything with .htaccess, if you upload the index.html file in your server it will render first rather index.php. So you can easily point index.php in your html file.

Rony
whatisacnc replied on at Permalink Reply
whatisacnc
No my server defaults to .php so it ignores the .htm, also where do I place the new index if that's the case?
barco57 replied on at Permalink Best Answer Reply
barco57
try
DirectoryIndex index.html
in your htaccess file. If the host allows overrides then that should work to make the index.html be the page that loads first.
whatisacnc replied on at Permalink Reply
whatisacnc
Looks like it would work but I'm not sure what directory to place it in. Do I place in in the main directory Concrete5 is installed in, or do I use the theme folder?
Thanks
mhawke replied on at Permalink Reply
mhawke
In the root directory where the index.php file is.

Do you mind me asking why you need to do this?