File other than index.php as default
Permalink
Hi,
My Setup...
I have C5 installed on the root of a domain [www.domain.com/index.php]. I dont want the site live while it is in development, so i have a "cover page" in front of it [www.domain.com/index.html].I have .htaccess setting html as prioity over php, so the html gets called by the browser first - perfect.
My Problem...
When i send the link to the under construction site [index.php] to my client and they click on the "Home" link in the autonav they get pushed back to the base url only [www.domain.com], and not a specific filename [www.domain.com/index.php].
My question...
Can i change the C5 default page to index2.php [if so how]? or can i change the default setting for the home link in the autonav?
Thanks in advance C5ers!
Ian
My Setup...
I have C5 installed on the root of a domain [www.domain.com/index.php]. I dont want the site live while it is in development, so i have a "cover page" in front of it [www.domain.com/index.html].I have .htaccess setting html as prioity over php, so the html gets called by the browser first - perfect.
My Problem...
When i send the link to the under construction site [index.php] to my client and they click on the "Home" link in the autonav they get pushed back to the base url only [www.domain.com], and not a specific filename [www.domain.com/index.php].
My question...
Can i change the C5 default page to index2.php [if so how]? or can i change the default setting for the home link in the autonav?
Thanks in advance C5ers!
Ian
but you can also use some host name check, some fancy url rewriting or simply create a new subdomain which is what I do all the time...
my host has a nice option that lets me create a folder called sub.domain.tld.