PDA

View Full Version : noob homepage question


YZdirtrider13
03-05-2007, 11:18 PM
right now, my site ( http://www.capturedcontrast.net ) defaults to the photoblog, and then you must click the MX Gallery link to get to that.
a lot of people who visit my blog have an interest in the motocross section more than the blog, and may be missing that link. yet i dont want to make the gallery the default.

so i was thinking of making a homepage giving you the option of photoblog or gallery, and maybe a link to the "about" page. or even stating some of my "about" page on the homepage.
what do you think? would you mind clicking through a splash page to chose which you want?

and if not, i need to know how to do that simply...
would i just make a new index.php? then if so, i would have to rename the current index.php and point to it from the splash page? probably a stupid question but i would appreciate it if you could tell me how (unless its a horrible idea :rolleyes: )

thanks in advance

Ryan

jaywilliams
03-06-2007, 07:28 PM
You could make a splash page and name it "index.html".

On that page you could have two links, one for your standard photoblog (index.php), and the other for your motocross photoblog (/Gallery/index.php).

If it turns out that going to: http://www.capturedcontrast.net/ still doesn't load up index.html by default, you can add a little code to a .htaccess file to fix it.

YZdirtrider13
03-08-2007, 08:37 PM
so putting an index.html wouldnt interfere with my index.php? i could just link to that?

austriaka
03-09-2007, 05:42 AM
Servers have a succession of file endings they are looking for when calling a page without index file.
Usually it is: index.htm, index.html, index.php
So if you have index.html and and index.php in the same folder and call the page by using only the folder name, index.html should be opened.

KArin