Page 1 of 1

change index.php to something.php

Posted: Fri Aug 03, 2007 12:06 pm
by promy
Since my hosting is parsing .php before .htm of .html files, I would like to change the index.php of the cms site to something else (ex. index2.php).
The index.html is just a front, containing a flash movie and a link to the rest of the site.
Is it possible to do so easely?

Re: change index.php to something.php

Posted: Fri Aug 03, 2007 1:05 pm
by Pierre M.
Hello,

I think the easiest way is to have your hosting provider do things The Right Way(TM) :

Code: Select all

DirectoryIndex index.html index.php
Its competitors do it.

Or may be you can change this yourself in the .htaccess ?

Pierre M.

Re: change index.php to something.php

Posted: Fri Aug 03, 2007 1:18 pm
by promy
Thanks!
putting this in .htaccess does the trick!