Log In · Register

 
making a page come first, help
xN1CK08x
post Apr 30 2006, 09:04 AM
Post #1


N!CK
****

Group: Member
Posts: 148
Joined: May 2005
Member No: 144,660



Hello, i want my into page to comp up before the index, but i don't know how to designate that page to come up first. thanx.. happy.gif
 
 
Start new topic
Replies
*Libertie*
post Apr 30 2006, 01:26 PM
Post #2





Guest






Just because sometimes it's useful to have a page other than index.html show up first, and I always like my true index page to actually be named index..

Open up notepad and type this:
QUOTE
DirectoryIndex pageyouwanttocomefirst.html

Obviously replace the stuff at the end with your page.

Now name the file .htaccess and upload it to your webspace in the same directory as all your other files. Then go to your website and it should be working.
 
add1cted2f1re
post Apr 30 2006, 03:47 PM
Post #3


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



QUOTE(Libertie @ Apr 30 2006, 2:26 PM) *
Just because sometimes it's useful to have a page other than index.html show up first, and I always like my true index page to actually be named index..

Open up notepad and type this:

Obviously replace the stuff at the end with your page.

Now name the file .htaccess and upload it to your webspace in the same directory as all your other files. Then go to your website and it should be working.



OMG YAY, i always wanted a splash page, but ppl said it couldnt be done w/ PHP!

YAY
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: