Page 1 of 1
How can I redirect my blog?
Posted: Sat May 03, 2008 5:07 pm
by ashmoore
I am trying to figure out how to leave my current serendipity installation where it is, but make it appear at the root.
What I mean is, instead of
www.mydomain.com/serendipity have it work as
www.mydomain.com/
I now this is possible, just don't know how to do it

Re: How can I redirect my blog?
Posted: Sun May 04, 2008 12:38 pm
by garvinhicking
Hi!
You can create a index.php file in your root with this content:
Code: Select all
<?php
header('Location: http://yourdomain/serendipity/');
this will then properly redirect to your blog.
Bestregards,
Garvin
Posted: Tue May 06, 2008 4:08 am
by ashmoore
Thanks Garvin,
That does indeed redirect.....
but I was hoping to get rid of the /serendipity/ from the url.
One of my friends showed me this for Wordpress which does exactly what I want.
http://codex.wordpress.org/Giving_WordP ... _Directory
The link does not give too much real information though (normal for wordpress)

Posted: Tue May 06, 2008 10:53 am
by garvinhicking
Hi!
This is possible for s9y, but then you need to physically move serendipity from /serendipity/ to /. This is outlined in the FAQ on
www.s9y.org, but it's also a bit of work. Redirecting might be the painless option.
Serendipity uses different code includes like Wordpress, so it does not suffice to copy over index.php to the root and let it forward.
Regards,
Garvin
Posted: Tue May 06, 2008 1:46 pm
by ashmoore
In that case I will leave it right were it is and be happy
