[thelist] Page serving order

Robert Lee rob at rob-n-steph.net
Wed Mar 10 06:59:52 CST 2010

The "Disable Canonical URL Redirection" plugin for Wordpress will correct
this, although anytime you hit the home button in wp.


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald
Sent: Wednesday, March 10, 2010 7:30 AM
To: thelist at lists.evolt.org
Subject: [thelist] Page serving order

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.



* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt ! 

More information about the thelist mailing list