.php as startup page :How Too?

jordan123

Baseband Member
Messages
46
.php help!!!!!1 HELP!!!!!!

ok u know that the web or w.e searches for index.html to show as the home page. how do you make index.php show up.

cuz i have my site mysite.com and index.html comes up which is good. but i have a sub site mysite/shoes which i want index.php to show up.

help = good. thanks.
 
Well, I noticed this. index.html comes up as default before index.php. So if you had an index.html and index.php in the same directory it'd have a conflict. Also I'm sure it'd depend on your httpd. If there's an option to do what you want, you might have to configure it a little bit.
 
RewtGuy said:
Well, I noticed this. index.html comes up as default before index.php. So if you had an index.html and index.php in the same directory it'd have a conflict. Also I'm sure it'd depend on your httpd. If there's an option to do what you want, you might have to configure it a little bit.

no theres not a .html and .php in the same folder. .html is for my home page. .php will be for a sub site.

so what would i do? im hosting with godaddy.
 
Well, if there's no "index.html" file in the folder, then "index.php" will be the first page shown. Hmm.... I don't think I fully understand your problem.
 
spank_fusion said:
Well, if there's no "index.html" file in the folder, then "index.php" will be the first page shown. Hmm.... I don't think I fully understand your problem.

yeah ok, but when i go to the site the index.php is in it doesnt bring up that page it brings up my home page.
 
Well, the two index files need to be in different folders. An html index file has priority over php index files.
 
Back
Top Bottom