[thelist] Page serving order

Simon MacDonald simonmacdonald at uk2.net
Wed Mar 10 07:23:06 CST 2010


Brill!

Thanks Rob that worked.

Simon

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Robert Lee
Sent: 10 March 2010 1:00 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Page serving order

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

HTH,
Rob

-----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:

http://example.com
http://example.com/
http://example.com/index.php

all the above serve the index.html page.

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

	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!

Cheers

Simon


 

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

The message was checked by ESET Smart Security.

http://www.eset.com
 

-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

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

-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

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

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

The message was checked by ESET Smart Security.

http://www.eset.com
 
 

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

The message was checked by ESET Smart Security.

http://www.eset.com
 



More information about the thelist mailing list