<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - Redirect To Plugin</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>Redirect To Plugin</h1>
</div>
<div id="content">



<div class="wikitext"><p class="tightenable top">The <a href="RedirectToPlugin.html" class="wiki">RedirectToPlugin</a> can be used to redirect a user to another page.
In other words it makes a page an <i>alias</i> for another page.</p>
<h4>Arguments</h4>
<p class="tightenable">Use only one of these arguments at a time.</p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>page</th>
<td>The page to redirect to (a wiki page name).</td>
</tr>
<tr class="tightenable top"><th>href</th>
<td>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.)</td>
</tr>
</table>
<h4>Caveats</h4>
<p class="tightenable">The <a href="RedirectToPlugin.html" class="wiki">RedirectToPlugin</a> invocation must be the first thing on a page.
For most purposes it makes any other content on the page inaccessible.</p>
<h4>Example</h4>
<p class="tightenable bottom">A page may be made a alias for the <a href="HomePage.html" class="wiki">HomePage</a> by placing this code at the top:</p>
<pre class="tightenable top">
&lt;?plugin RedirectTo page=&quot;HomePage&quot; ?&gt;</pre>
<p class="tightenable bottom">To see the example in action, visit <a href="HomePageAlias.html" class="wiki">HomePageAlias</a>.</p>
<hr />
<p class="tightenable top bottom"><a href="PhpWikiDocumentation.html" class="wiki">PhpWikiDocumentation</a></p>
</div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: &quot;admin&quot;  Last edited on February 15, 2003  6:46 pm by &quot;The PhpWiki programming team&quot;</p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
