index.html as intro and index.php as site

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   index.html as intro and index.php as site
yuriyneo
CZ Newbie
yuriyneo has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 17, 2006
0.00 posts per day
Posts: 12
Points: 25
   
hi nukers anyways I want to have an index.html file on my server as an intro page(flash intro) and I want to make a index.php enter link inside the intro, so when I go ex: [ Register or login to view links on this board. ] it goes to index.html and when I click Enter on the flash into it takes me to index.php I would really, I mean really appreciate if someone can help with this, thanks alot I will be waiting for some reply from such a big nuke community online!!! Please help. icon_biggrin.gif



Back to top Reply with quote
#2   re: index.html as intro and index.php as site
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
Do you have the intro already?

Your server should look for index.html anyway (by default). Then all you would need is a link to [ Register or login to view links on this board. ] on your index.html.



Back to top Reply with quote
#3   re: index.html as intro and index.php as site
yuriyneo
CZ Newbie
yuriyneo has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 17, 2006
0.00 posts per day
Posts: 12
Points: 25
   
yes I have it already on server but when I put in my url, it goes by default and skips index.html and goes to index.php icon_sad.gif



Back to top Reply with quote
#4   Re: re: index.html as intro and index.php as site
yuriyneo
CZ Newbie
yuriyneo has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Oct 17, 2006
0.00 posts per day
Posts: 12
Points: 25
   
[quote="yuriyneo @ Tue Oct 17, 2006 10:17 pm"]yes I have it already on server but when I put in my url, it goes by default and skips index.html and goes to index.php icon_sad.gif[/quote]

nevermind I found a different way to do it. thanks for the help anyways!



Back to top Reply with quote
#5   
grapeseek
CZ Newbie
grapeseek has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 04, 2007
0.00 posts per day
Posts: 5
Points: 0
   
can you tell us what you did?
I would like to have index.php in my root directory as the homepage
so I could submit my site simply as
vitisearch.com

I've been looking for 3 days now to even find out if it's possible or not.
I would hate to have to redo everything using postnuke since I have so much of my phpnuke already set up. With postnuke it's simple to do....

any help would be appreciated!
Thanks
Michel White



Back to top Reply with quote
#6   re: index.html as intro and index.php as site
DAMIAN
CZ Active Member
 Codezwiz Site Donator
DAMIAN has been a member for over 20 year's 20 Year Member
usa.gif mississippi.gif
Occupation: Net Junkie
Age: 58
Gender: Male
Fav. Sports Team: steelers
Website:
Status: Offline
Joined: Aug 08, 2004
0.02 posts per day
Posts: 177
Points: 9,848
   
unless you're setup as a sub-domain, I dont see why your index.php wouldnt be in the root directory. Ive got several sites using nuke and all of the index.php's are in the root directory.
Maybe a little more information about how your directory is setup might help.




_________________
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]

It is better to regret something that you have done...............than to regret something that you havent done.
Back to top Reply with quote
#7   
grapeseek
CZ Newbie
grapeseek has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 04, 2007
0.00 posts per day
Posts: 5
Points: 0
   
I went online and first in the admin set the preference so that
the site url is [ Register or login to view links on this board. ] instead of [ Register or login to view links on this board. ]

and then I ftp'd to the site and moved everything from the /html
folder to the / root folder and it all worked out fine.

For some reason I tried to install it to the root directory originally and it didn't work, but installing it as per the instructions which creates the
/html directory and puts /index.php works and then it's simple to move it to the root via [ Register or login to view links on this board. ]

Thanks for your post because it motivated me to try again.
All's well that ends well.
Michel White



Back to top Reply with quote
#8   re: index.html as intro and index.php as site
DAMIAN
CZ Active Member
 Codezwiz Site Donator
DAMIAN has been a member for over 20 year's 20 Year Member
usa.gif mississippi.gif
Occupation: Net Junkie
Age: 58
Gender: Male
Fav. Sports Team: steelers
Website:
Status: Offline
Joined: Aug 08, 2004
0.02 posts per day
Posts: 177
Points: 9,848
   
Glad you got it all worked out. It gets extremely frusterating when simple things dont work out. Sometimes just coming back too it later on is all thats needed.




_________________
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]
[ Register or login to view links on this board.]

It is better to regret something that you have done...............than to regret something that you havent done.
Back to top Reply with quote
#9   re: index.html as intro and index.php as site
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
Its a bit late but better than never for future searchers

easy way of doing this

simply add this code anywhere at your .htaccess

DirectoryIndex index.html


so when someone reach yoursite.com , index.html parsed first instead index.php

But you must also know putting a flash intro at your homepage with a link in it to your second mainpage will stop search engine bots crawl your site content

if you really want to use a flash intro make sure that you link to your second main page with a hyperlink ( text link) under/around that flash intro .



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum