|
#1
|
|||
|
|||
|
Hi All,
Currently, i have one domain name maegabriel.com and on that page i have my photoblog. I also have a foodblog which is maegabriel.com/riceandnoodles. I would like to have a front page [this is still work on progress] where if anybody comes to maegabriel.com, what you'll see is a page where i can put the two links ie, the photoblog and foodblog [they're both on pixelpost]. At the moment when you go to maegabriel.com, the photoblog is set to come up straightaway. Though i'm not very good with codes [my knowledge is very limited], i know that it has something to do with index.php. Now i've been trying to moderate it but it doesn't work. I have a back-up of course! Please can somebody help me? What do i have to do? MANY THANKS FOR THE HELP IN ADVANCE
|
|
#2
|
||||
|
||||
|
In the root directory of maegabriel.com, you need to have an index.html which is just your splash page. What you will need to do is create a photoblog directory (domain.com/photoblog) and cut/paste your pixelpost files into that directory, just like how you have the foodblog now. That way, you'll have splash page with links to your two sites...domain.com/photoblog and domain.com/foodblog.
__________________
The Last Rewind |
|
#3
|
||||
|
||||
|
Try to put this "splash screen" into the index.html file and then put it into root dir of your webpage. If you have set static pages as first to look as default page then it will work otherwise you must change this setting or i.e. put pixelpost to subdir and then call it just like foodblog.
|
|
#4
|
|||
|
|||
|
Thanks codepoit! I'll have to think if this is what i'd really like to do. I mean doing the photoblog as sub dir.
GeoS, thanks! Quote:
Thanks again! |
|
#5
|
||||
|
||||
|
A better and more elegant solution would be to redirect your default directory index using .htaccess
Do this in your .htaccess file DirectoryIndex temp_splash_index.html This means when anyone goes to http://yourdomain.com it will load whatever you've done in temp_splash_index.html While you as the developer can simply continue to work with your index.html or index.php and test it, no one will be the none the wiser. Once you're done with testing and developing, you can remove that line in your .htaccess file. |
|
#6
|
|||
|
|||
|
janicq,
if he does not understand GeoS answer, .htaccess would be too tricky I think what GeoS wanted to suggest: write an index.htm or index.htm in this page, add links to Pixelpost and to the blog in the Blog you can add a link to the startpage + to Pixelpost in Pixelpost main page you can add a link to the startpage + to the Blog that is fairly easy and needs no modification of any system parameters like editing .htaccess would be never do simple things in a complicated way... |
|
#7
|
||||
|
||||
|
More or less I agree with Connie.
There is only small trick to janickg reply: some Apache servers have this DirectoryIndex directive set by default as: Quote:
So there is enough to put this the most on right file name to root dir of site and then server sends it as default page for site visitors leaving the rest of files as they are without need of doing next subdirs and so on. Other thing is also that default setting is more optimal for server working but that isnt so important as you dont host to many sites on your machine. This what janickg suggest to you is doing this default DirecotryIndex setting on own hand with own priority of documents. It is useful when server have other order of files then you want or then you can accept. I belive that not it is a little more clear then it was few post ago. |
|
#8
|
|||
|
|||
|
Thanks everyone,
Connie, while your answer seems easy, i'm afraid it's still complicated to me. Sorry, it's me not you. I have an index.php on my root directory. In it, has loads of codes about the page. I'm not sure how to add links to Pixelpost and to the blog. Ouch. This has become too complicated for me. Like i've said, not you, but me. Thanks for trying... |
|
#9
|
|||
|
|||
|
noodles, don't be a noodle ;=)
you really think it is more complicated than it is unfortunately you have one file "index.htm" this has links to Pixelpost and to other things Code:
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>This is my webpage</title> </head> <body> <p>Watch my <a href="index.php">PixelPost Photoblog!</a> </p> <p>Read my <a href="wp/index.php">WordPress Blog!</a> </p> </body> </html> really not difficult you can have index.htm index.html index.php in the same directory, but not 2 times index.php |
|
#10
|
||||
|
||||
|
I think Connie was trying to tell you that you create that index.html in your root directory of your homepage, and have the contents of the created index.html (as Connie pointed out) -link to your other photoblogs / blogs.
Last edited by janickg; 09-25-2006 at 11:11 PM. |
| Post Reply |
| Thread Tools | |
|
|