Miscellaneous

Can I rename the default /nucleus/ directory?

Scenario:
"I have just installed Nucleus and would like to rename the default /nucleus/ directory to something else, like /admin/. Is this possible?"

Solution:
This is certainly possible. The /nucleus/ directory contains the admin area and all other Nucleus core admin files. In order to rename it, you will need to edit the paths in config.php and the urls inside Nucleus (both under Global Settings and the Settings for each individual blog).

Original forum thread (thanks, roel!):
http://forum.nucleuscms.org/viewtopic.php?t=10908

Method:
Change your old config.php file from this:

// main nucleus directory
$DIR_NUCLEUS = '/home/username/public_html/nucleus/';

// media dir
$DIR_MEDIA = '/home/username/public_html/media/';

// extra skin files for imported skins
$DIR_SKINS = '/home/username/public_html/skins/';

will become this:

// main nucleus directory
$DIR_NUCLEUS = '/home/username/public_html/admin/';

// media dir
$DIR_MEDIA = '/home/username/public_html/media/';

// extra skin files for imported skins
$DIR_SKINS = '/home/username/public_html/skins/';

You will also need to change your global settings from this:

Original global settings

to this:

New global settings

section: Miscellaneous | submitted by Leng on 2006.Feb.17 | 2599 views

item rate
Total votes: 3 - Rating: 7.67

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

10