PDA

View Full Version : Need help how to open other page than index.php


Fronix
02-02-2008, 06:29 PM
I know the title is hard to understand but i don't know how to explain it. Anyways i want to have a enterpage in .html but to have that i have to change the index.php to index2.php and then i have to change verry much and i don't want to do that. So my question is how do i open a other page and keeping the index.php instead of index2.php.


Just ask if i need to explain more

tux
02-02-2008, 06:38 PM
Hi Fronix,

Never checked myself but I think default.html will load before index.html. You can then link to your index page from the default page.

Upload a test default.html page and give it a go.

I'm sure someone will confirm if this is the case or not.

You could also check with your hosting company.

Regards, Paul

Fronix
02-02-2008, 06:39 PM
:( it din't work

tux
02-02-2008, 08:04 PM
Just tried it myself on one of mysites and worked perfectly.

Did you refresh the page in case it took the page from your cache (temp files)

Check with your hosting provider.

tux
02-02-2008, 09:17 PM
Fronix,

I have tried using default.html on two different sites, with two different hosts.

It worked for me on both.

I take it you saved a new test page as default.html and then uploaded it to your server.

Post your URL so I can try it myself.

domedia
03-02-2008, 05:33 PM
It's a server setting so it can be anything.
Ask your host, they are the only ones that will know the exact order of priority. default.html is normal, but no rule.