Hey guys, I just had a quick (newbie) question. Im building a website where I want the homepage to be a .php page (ie: www.website.php instead of www.website.com). The problem is that I dont know how to do this. Currently to tackle this problem I am simple redirecting my visitors to the .php page (ie: they get redirected from www.website.com to www.website.com/home.php).
This process seems a little to tacky and I'm looking for a cleaner solution. I would visitors to type in my website's name with the .com extension and be redirected to the .php extension. I dont know if this is possible but if anyone has a solution it would be appreciated. Cheers.
In the root directory, the domain will pull either default.html, index(.htm & .html & .php & .asp) etc. So if you want to fix the situation then simply rename "home.php" to index and eliminate all other variations.
Nearest you could get, would be to register a Philipine hostname (.ph) and use that for the website address.
Otherwise, what you are asking for is impossible.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
In the root directory, the domain will pull either default.html, index(.htm & .html & .php & .asp) etc. So if you want to fix the situation then simply rename "home.php" to index and eliminate all other variations.
This is the right solution as the index page has not to be index.html it can be index.php and it will work fine.
What you're basically asking for is to register a ".php" domain name, which unfortunately as others have mentioned is an invalid domain. Perhaps it will be one day.
Thanks Xela1966, you are right too Rolda. I answered the question above, and since the poster hasn't returned, I'm assuming the issue was fixed or it wasn't an issue to begin with.
just name the home page index.php, it wont show up in the URL bar and all you'd have was www.website.com
i read somewhere that some time in the future the .com, .co.uk etc system is going to be dropped and you can replace it with anything, i can't find the link where i read it, but it was on the bbc website so im sure it was kosher
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?