[pmwiki-users] Clean URLs - get rid of "Main"
mike at widowitz.com
Thu Apr 13 05:04:21 CDT 2006
Thanks, but I believe this is a misunderstanding. I don't want to get
rid of the specific group named "Main", but I want to have one group
within my groups which has the feature of not showing up as a group in
the page path, but being directly in the root...
So I don't want to change from
xxx.com/Main/HomePage to xxx.com/Cool/HomePage
but I want to have xxx.com/HomePage...
Hans wrote on 13.04.2006 11:22:
> Wednesday, April 12, 2006, 5:18:31 PM, Mike wrote:
>>Maybe such a behavior (i.e., a switch like $HideMainGroup=1) could be
>>included in the next release? I'd be happy to update my running version
> That should not really be necessary.
> pmwiki ships only with three pages in the Main group:
> To change the default startup behaviour, set
> $DefaultGroup = 'MyStartupDefaultgroup'; #default is 'Main'
> $DefaultName = 'DefaultPageForEachGroup'; #default is 'HomePage'
> $DefaultPage = 'MySpecialStartupPage'; #default is
> DefaultGroup.DefaultName, i.e. Main.HomePage, when no page is
> specified in the url.
> AllRecentChanges are now (pmwiki2.1) in the Site group, and if you
> upgrade to 2.1 you can delete or move Main.AllRecentchanges
> The WikiSandbox could be anywhere, and links to the HomePage and to the
> Sandbox can easily be changed on the default Site.SideBar, which will get
> edited in any case.
> I recommend you upgrade to 2.1.
More information about the pmwiki-users