Patrick R. Michaud
pmichaud at pobox.com
Fri Apr 15 02:10:51 CDT 2005
On Thu, Apr 14, 2005 at 04:46:59PM -0500, Patrick R. Michaud wrote:
> On Thu, Apr 14, 2005 at 12:58:06PM -0500, Monty wrote:
> > I notice that when n=Main, PmWiki automatically routes to HomePage.
> > (This isn't documented anywhere I can find besides the source.) This
> > behavior is OK with me, but I would like to suppress the page name when
> > the page name == 'HomePage', in both the URL and in the $Title variable
> > which is displayed in templates (unless overridden by a directive in the
> > page), so that only the Group name is displayed.
> > ...
> > What is best practice to accomplish this desire?
> If there's sufficient demand, I can make this feature available
> via an $Enable... switch.
As of pmwiki-2.0.beta31, you can now do the above by simply setting
$EnableFixedUrlRedirect = 0;
in your config.php.
More information about the pmwiki-users