[pmwiki-users] change/delete "HomePage"

Patrick R. Michaud pmichaud at pobox.com
Wed Apr 16 11:15:58 CDT 2008

On Wed, Apr 16, 2008 at 10:14:29AM -0400, Janaki Kuruppu wrote:
>    Hi,
>    I would like to change the HomePage for our wiki site, but am not having
>    any luck.  Hoping someone can help.
>    i tried deleting the Main.HomePage in the edit window, but it just
>    defaults back to the original version (and it looks like i lost the
>    revisions i had made to it previously).
>    then I saw a suggestion on the list to put the following line in the
>    /local/config.php file:
>      $DefaultPage = 'Main.TikvatWiki';
>    but that also doesn't seem to work.

Try setting:

    $DefaultName = 'Main.TikvatWiki';

Note that even if you remove Main.HomePage from the wiki.d/ directory,
PmWiki will still see the Main.HomePage that is in wikilib.d/
(the one that comes with the distribution, along with the other
configuration and documentation pages).  Instead of removing
Main.HomePage, you may want to change it to

    (:redirect Main.TikvatWiki:)

This will cause any requests for Main.HomePage to automatically
be forwarded to Main.TikvatWiki.


More information about the pmwiki-users mailing list