Forums / Developer / Change the root id of a siteaccess

Change the root id of a siteaccess

Author Message

Nayef Abu Ebaid

Thursday 30 November 2006 3:35:06 am

Hi all,

I have to two sites under the root folder, I need to change the root id of the two sites that i have created under the root folder, so I need the sites to point to their parent folder as their root folder. help me please.

Thanks

Donat Fritschy

Thursday 30 November 2006 8:41:29 am

Hi

in the site accesses define in site.ini.append.php:

[SiteSettings]
...
IndexPage=/content/view/full/{rootnode}/
DefaultPage=/content/view/full/{rootnode}/
..

Replace {rootnode} by the number of your site root node.

You might also need to overwrite content.ini (put content.ini.append.php in your siteacess setting folder), you find a RootNode setting there.

[NodeSettings]
# The node ID of the normal content tree
RootNode=2

Hope this helps.

http://www.webmanufaktur.ch - Developers united in eZ Publish: http://www.cjw-network.com