The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Can my index file be .php
oddcarout
post Feb 26 2012, 11:50 PM
Post #1


Member
***

Group: Members
Posts: 62
Joined: 21-November 06
Member No.: 1,017



I used PHP to build my site.

I originally used home.php.

Can I have my home or index file by .php?

right now I have an home.html that points to my home.php. What is the correct way to do this?

Please help.

Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
oddcarout
post Feb 27 2012, 05:07 PM
Post #2


Member
***

Group: Members
Posts: 62
Joined: 21-November 06
Member No.: 1,017



would I add:

DirectoryIndex home.php index.php home.html index.html

Thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 27 2012, 05:25 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Yes. But check if it already works first. Something made home.html work, right?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 05:43 PM