Installation & Configuration

I would like to put my secondary blog in a different directory.

This is already well-documented in the Nucleus documentation: How to create a new weblog. But since cliçking a link can be such an effort, we will provide another set of instructions below: ;)

First, create a weblog from your admin area. Click New Weblog, fill out the required information on the first page, then go on to the next step. There choose the "Advanced: Call the weblog from existing skins"-option, fill out the url of the new blog (yoursite.com/2nd-blog/ ?). And don't forget to press the 'Create weblog' button.

Secondly, we are going to make the blog accessible (although it is already available via yoursite.com/index.php?blogid=2). Just create a directory '2nd-blog', according to the url you provided during the first step (append index.php if you're not using fancy url's). Then create a copy of the index.php file from your root directory. Edit it so the reference to config.php is right: ../config.php and change the blogname to the shortblogname you provided during the first step. It should look like this:

<?php
$CONF = array();
$CONF['Self'] = 'http://url.of.your/2nd-blog/';
 
include('../config.php');
selectBlog('shortblogname');
selector();
 
?>

Now upload the file to your server, to the subdirectory '2nd-blog'. And take a look...

section: Installation & Configuration | submitted by roel on 2004.Sep.23 | 6147 views

item rate
Total votes: 14 - Rating: 7.36

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10