View Source:
Help/RedirectToPlugin
Note:
You are viewing an old revision of this page.
View the current version.
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. When redirecting to another wiki page, a note is added to the top of the target page saying //(Redirected from SomeRedirectingPage)//. Redirection to external URLs will only work on locked pages. == Arguments == You must provide a ##page## or an ##href## argument (but not both). {| class="bordered" |- ! Argument ! Description ! Default value |- | **page** | The page to redirect to (a wiki page name). | //empty// |- | **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.) | //empty// |} == Caveats == For most purposes, the ~RedirectToPlugin invocation makes any other content on the page inaccessible. == Example == A page may be made a alias for the [[HomePage]] by using this code: {{{ <<RedirectTo page="HomePage">> }}} To see the example in action, visit [[HomePageAlias]]. <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
BroadcastHistory
HomePage
How to use this Wiki
Adding Pages
List all Categories
Main Categories
CategoryWikiPlugin
CategoryActionPage
Search
Toolbox
Recent Changes
Recent New Pages
What links here
All pages
Recent Changes
RecentChangesCached
Tape Cartridge History
Favorite Categories
WikiPlugin
(140)
ActionPage
(77)
InterWiki
(18)
InterWiki
(18)
View Page
View Source
History
Diff
Sign In