Page 1 of 1

Serendipity as Home Page

Posted: Tue Dec 28, 2004 10:51 pm
by javaravyn
I am trying to set Serendipity as my home page, but I haven't had much luck

my paths are set as follows:
Full path: /home/<userid>/public_html/serendipity
Upload path: uploads/
Relative path: /serendipity/
Relative template path: templates/
Relative upload path: uploads/
URL to blog: http://www.cushingonline.com
Index file: index.php

Should I just unzip the serendipity build to the root of my website instead? I was hoping to keep it all in a subdirectory and just publish the index.php to the root website.

Thanks,
M@

Posted: Wed Dec 29, 2004 2:14 am
by Riken
Unless you've set up your webserver so that the root path = /home/<userid>/public_html/serendipity you've got the wrong url. Also you're relative path looks wrong.

Set your relative path to /~<userid>/serendipity/

The url to blog should be http://www.cushingonline.com/~<userid>/serendipity/

Posted: Wed Dec 29, 2004 5:52 pm
by Little Hamster
Should I just unzip the serendipity build to the root of my website instead? I was hoping to keep it all in a subdirectory and just publish the index.php to the root website.
Have a look at http://www.s9y.org/forums/viewtopic.php ... ight=#1854. It shows how to create a 1-line index.php which re-directs traffic to a s9y installed in a subdirectory.

Posted: Thu Dec 30, 2004 3:32 pm
by Guest
Riken wrote:Unless you've set up your webserver so that the root path = /home/<userid>/public_html/serendipity you've got the wrong url. Also you're relative path looks wrong.

Set your relative path to /~<userid>/serendipity/

The url to blog should be http://www.cushingonline.com/~<userid>/serendipity/
The way the webserver is set up at my host, my user id is before the public_html, so I don't have to use that. I think I am going to just set up my index page to kick it right to the serendipity page.

I did it with MT fairly easily, but I am done with them. 100 spam comments a day just got to be too much.

M@

Posted: Thu Dec 30, 2004 5:14 pm
by Little Hamster
I thought MT has captcha plugins (for stopping comment spams). Or do they not work as well as they claim? I don't think serendipity has any measure to stop trackback spam, but I'm not sure.

Posted: Fri Dec 31, 2004 10:31 am
by garvinhicking
Well, you can turn on comment moderation for any entry, which includes trackbacks. And the word/link count anti-spam features do also work for trackbacks; captchas of course can't be applied to them. If you have an idea on how to get rid of possible trackback spam which isn't yet implemented, let me hear it :)

Regards,
Garvin

Posted: Fri Dec 31, 2004 4:42 pm
by Little Hamster
Garvin, thanks for the reply. Didn't know the link count is applied to trackbacks as well.

Posted: Sun Jan 02, 2005 12:20 am
by dand
Here's another way. If your web server allows htaccess files, you can put this in .htaccess at the root level:

Code: Select all

Redirect 301 /index.html http://www.cushingonline.com/serendipity/
I don't know if there's an advantage to doing it this way or the other way -- can anybody shed some light on which way is better? One issue might be that tracking referrers might not work properly.

Daniel

Posted: Fri Feb 11, 2005 7:20 pm
by javaravyn
dand wrote:Here's another way. If your web server allows htaccess files, you can put this in .htaccess at the root level:

Code: Select all

Redirect 301 /index.html http://www.cushingonline.com/serendipity/
I don't know if there's an advantage to doing it this way or the other way -- can anybody shed some light on which way is better? One issue might be that tracking referrers might not work properly.

Daniel
Why do you need to use a redirect? With MT, you could set it up as your index.php/html instead. Not trying to compare, just curious to see how they did it.