Page 1 of 1

making my Serendipity Blog my index page

Posted: Sat Jun 24, 2006 7:32 pm
by conglomco
hello,
I am making a serendipity blog site here: http://conglomco.org/serendipity/
but i would like it to be my index page at http://conglomoc.org/index.php
is there a way it will automaticly forward to that place?
thanks a lot

Posted: Sat Jun 24, 2006 9:42 pm
by jhermanns
yes, just create the index.php and put this in it:

Code: Select all

<?php
Header("Location: http://conglomco.org/serendipity/");
exit;
?>
[/code]

thanks

Posted: Sun Jun 25, 2006 7:01 pm
by conglomco
thank you that worked, but what if I want the URL to appear without the../serendipity at the end?

thanks

Posted: Mon Jun 26, 2006 6:40 am
by conglomco
I'm not sure if I am am asking the right question... it works in WordPress like this:

Code: Select all

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
does anyone know how to do this in serendipity?
thanks

Posted: Mon Jun 26, 2006 1:27 pm
by garvinhicking
Hi!

That would be equivalent to this:

http://www.s9y.org/11.html#A21

Best regards,
Garvin

thanks for the help

Posted: Mon Jun 26, 2006 10:20 pm
by conglomco
Thank you very much everyone,
Maybe I'm not seeing something, but isn't that instructions on how to move serendipity to a new place on a new server..
What I want to do is have serendipity in its own folder, but the index.php outside that folder..
is this possible?
I just don't like the ./serendipity/ in my URL.. would the easiest way to fix this problem be moving everything to the root level, and reimporting the SQL database, that seems like an ordeal!?
thanks much,

Re: thanks for the help

Posted: Mon Jun 26, 2006 10:32 pm
by garvinhicking
Hi!

Yes, that is the information. But the link you posted from Wordpress is the same! It also describes how to physically move files!

The only way to make s9y your homepage without the "/serendipity/" or "/blog/" or whatever string in the URL is to put the application itself into that directory. (I will not speak of ugly iframe/frame forwarding). You could also use mod_rewrite to make /serendipity/ magically disappear, but I wouldn'T really suggest this.

Code: Select all

What I want to do is have serendipity in its own folder, but the index.php outside that folder..
is this possible?
That could work for the startpage, but all follow-up URLs would then lead to /serendipiuty/.

Code: Select all

I just don't like the ./serendipity/ in my URL.. would the easiest way to fix this problem be moving everything to the root level, and reimporting the SQL database, that seems like an ordeal!?
You don't need to reimport the SQL database if you just move the installation up one directory level. The only thing you need to do is:

1. Move the files
2. Log in to the admin DB, correct the old paths into the new ones. Save. You're done.

Best regards,
Garvin