Loading...
 
Skip to main content

History: PluginRedirect

Source of version: 32 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} # Plugin Redirect

*Introduced in ((Tiki3))*

Use this ((wiki plugin)) to semi-permanently redirect any existing wiki page to any other specified wiki page or URL. If it's for wiki pages, a better alternative is the ((Page Alias))

## Parameters

{pluginmanager plugin="redirect"} 
Note:

- It does not check permissions of the destination page, so users may need to login after redirect.
- It can redirect to a wiki page or to any URL, which is why there is ((Plugin security))
- There is no warning about "you will be redirected in 5 seconds message" or similar; it's instant!
- There is a check to stop possible loops
- URL redirects can be both: absolute starting with protocol like http:// or relative to the Tiki root

### How to edit the redirect page?

Q:How do you go back to original page for editing... 
A: Use `/tiki-editpage.php?page=TheTargetPageWithTheRedirectPlugin`

You can also go to the page history to view source, compare or unroll changes made that include the REDIRECT code. Use `/tiki-pagehistory.php?page=TheTargetPageWithTheRedirectPlugin`

## Examples

The redirect plugin usage is: 
{CODE(colors="tiki")}{redirect page="pagename"}{CODE} 
or for URLs (tiki-something.php... or http://...) 
{CODE(colors="tiki")}{redirect url="url"}{CODE} 
or for perspectives: 
{CODE(colors="tiki")}{redirect perspective="Id"}{CODE}

## Related pages

- ((Page Alias)) redirects wiki pages which do not exist to ones that do.
- ((Perspectives))
- ((PluginPerspective))

## Aliases

 (alias(Redirect)) | (alias(Redirects)) | (alias(Redirecting)) | (alias(Redirector)) | (alias(Forwarder | (alias(Forward)) | (alias(Mod redirect))