Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-06 01:43:14

fowler
Member
Registered: 2007-02-12
Posts: 79

loading index.html before index.php

I’ve tried a few different things, modding the htaccess file, but so far, haven’t been able to get index.html to load before index.php.

Is there a special trick that I need to do when it comes to textpattern?

at this point, I’m back to the stock htaccess file that came with 4.0.6

Last edited by fowler (2008-02-06 01:43:37)

Offline

#2 2008-02-06 02:18:10

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: loading index.html before index.php

See if this works, from ferrydust.

Offline

#3 2008-02-06 16:58:56

jordi
Member
From: Barcelona
Registered: 2005-09-14
Posts: 94
Website

Re: loading index.html before index.php

If it does not work, sometimes I use a solution that involves a small hack in the index.php file, email me for details.

Offline

#4 2008-02-06 17:34:46

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: loading index.html before index.php

again, i’d suggest using rvm_maintenance — that way you can work on the site while other visitors see the splash page.

Offline

#5 2008-02-11 22:54:48

fowler
Member
Registered: 2007-02-12
Posts: 79

Re: loading index.html before index.php

question…

i’ve done this two ways (haven’t tried that rvm plugin yet)… using the above htaccess contents, then creating a “splash” page and using it as default.

both ways work fine… sort of. the problems that i’ve run into vary in annoyingness…

- in both cases, i have to change the “home” links to the to match the section i want the viewers to see first…

- when i search, it trys to use the default page, in both cases… trying to use the splash page.

here is the blog, you’ll see what i mean when you try and search (just hitting enter and ignoring live search)

dcmacollective.com

^ this is with the modded htaccess file…

Last edited by fowler (2008-02-11 22:55:15)

Offline

Board footer

Powered by FluxBB