Date: Thu, 15 Apr 2010 16:32:58 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC-20100415) X-Rcs-Id: $Id$ Content-Type: application/x-phpwiki; pagename=Help%2FRedirectToPlugin; flags=PAGE_LOCKED%2CEXTERNAL_PAGE; markup=2; charset=UTF-8 Content-Transfer-Encoding: binary The **~RedirectTo** [[Help:WikiPlugin|plugin]] can be used to redirect a user to another page. In other words it makes a page an //alias// for another page. == Arguments Use only one of these arguments at a time. {| class="bordered" |- ! Argument ! Description ! Default value |- | **page** | The page to redirect to (a wiki page name). | none |- | **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.) | none |} == Caveats The ~RedirectToPlugin invocation must be the first thing on a page. For most purposes it makes any other content on the page inaccessible. == Example A page may be made a alias for the HomePage by placing this code at the top: {{{ <> }}} To see the example in action, visit HomePageAlias. ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]