Page 1 of 1

Newbie Questions Blog as Homepage and HTML Nugget

Posted: Sat May 20, 2006 8:41 pm
by Berg
I know basic HTML code, but no experience with PHP, I have two questions.

1. In an effort to have the blog as my homepage I inserted the following code:
<meta http-equiv="Refresh" content="1;url=http://www.alphastocks.com/cblog/index.php">
into my index page, which works, but surely there must be a more efficient way make the blog your home page. Not sure how this would work with Google search etc...

2. I want to install a sidebar where I can insert html code or whatever, I read on this forum that I need to insert an 'html nugget', what is that and how do I do it?

Thanks for any feedback.

Posted: Sun May 21, 2006 1:45 am
by Berg
OK, got the nugget sorted out.
Appreciate comments on how to best set the blog as the home page.

Posted: Mon May 22, 2006 10:52 am
by garvinhicking
Hi!

Of course the easiest way to make s9y answer on your homepage is to just install Serendipity into the root of your document tree.

If you can't/won't do that, then your way of redirection is the only really feasible way. Another way would be to use a small index.php file:

Code: Select all

<?php
header('Location: http://www.alphastocks.com/cblog/index.php');
?>
this will be a little bit faster than your HTML Redirection.

Regards,
Garvin

Posted: Mon May 22, 2006 4:55 pm
by Berg
I would like to install it in the root html dir but using APLUS.net there doesn't seem to be a way to choose where I install it. By the way the redirect code you posted doesn't work for me. Any ideas how I can put the blog files in the html folder? Tried copy paste, but it doesn't allow me to paste into the html folder from the cblog folder.

Posted: Mon May 22, 2006 5:26 pm
by Berg
Got your php file working (didn't save it as php, doh).
I would prefer having the whole thing installed in my root html folder though

Posted: Tue May 23, 2006 11:00 am
by garvinhicking
Hi!

Hm, if your provider installed s9y for you, then I don't see much of a choice here. If you have full FTP access and access to a database, you can install serendipity yourself into the root directory of your site, of course!

Regards,
Garvin