[pmwiki-users] How to change the default site home page?

Patrick R. Michaud pmichaud at pobox.com
Mon Nov 13 23:15:14 CST 2006


On Tue, Nov 14, 2006 at 03:07:54AM +0800, Shujun LI wrote:
> Hi all,
> 
> I want to change the default site home page from Main.HomePage to another group's home page.
> I looked into the Documentation Index, but didn't find anything related.
> Can anyone tell me how to do that?

In local/config.php:

    $DefaultPage = 'OtherGroup.HomePage';

> In addition, I noticed that Main.HomePage cannot be deleted, though it can be editted freely.
> Each time I delete all contents of Main.HomePage and input "delete", the original home 
> page will be restored automatically.
> It seems that the default site home page is protected by some mechanism.
> Is there a document that explain this issue?

Pages that come as part of the distribution (including Main.HomePage)
are stored in wikilib.d/ .  You can just eliminate the files from wikilib.d/
(although they'll likely be restored when you upgrade).

Hope this helps,

Pm




More information about the pmwiki-users mailing list