[thelist] Page serving order

Simon MacDonald simonmacdonald at uk2.net
Wed Mar 10 06:30:15 CST 2010

Hi Folks,

I'm building a wordpress site that I want to hide behind a index.html
holding page.

What's happening at the moment is that the holding page is being served even
if I explicitly put index.php in the url:


all the above serve the index.html page.

I changed the DirectoryIndex in the .htaccess to put index.php first in the

	DirectoryIndex  index.php index.html index.htm default.htm  

http://example.com then serves the index.php and
http://example.com/index.html  serves the index.html.

I changed .htaccess again to:

	DirectoryIndex   index.html index.php index.htm default.htm  

And that only serves the index.html as in the first example above.

I confess that .htaccess configuration ain't my strongest point.

How do I get the index.php to serve if it's explicitly in the url and
otherwise serve the index.html

I feel I'm being dumb and missing something!




__________ Information from ESET Smart Security, version of virus signature
database 4931 (20100310) __________

The message was checked by ESET Smart Security.


More information about the thelist mailing list