Support HammondWiki. Donate!

The RedirectToPlugin can be used to redirect a user to another page. In other words it makes a page an _alias_ for another page.


Use only one of these arguments at a time.

page |

  The page to redirect to (a wiki page name).

href |

  An external URL to redirect to.  Redirection to external URLs will only work
  on locked pages.  (If the URL contains funny characters, you'll probably have
  to put quotes around the URL.)


The RedirectToPlugin invocation must be the first thing on a page. For most purposes it makes any other content on the page inaccessible.


A page may be made a alias for the HomePage by placing this code at the top:

<?plugin RedirectTo page="HomePage" ?>

To see the example in action, visit HomePageAlias.


The content of this page is Copyright (C) 2000, 2001, 2002 Geoffrey T. Dairiki and the other authors of the content, whoever they may be.
This is free information and you are welcome redistribute it under certain conditions; see for details.
Absolutely no warrantee is made as to the correctness of the information on this page.