Plugin Redirect
This plugin semi-permanently redirects any existing wiki page to any other specified wiki page or URL. If it's for wiki pages, a better alternative is the Semantic alias.Page Alias redirects wiki pages which do not exist to ones that do.
Starting in version 3.0, it is bundled.
Usage
The redirect plugin usage is:{REDIRECT(page=pagename) /}or for URLs (tiki-something.php... or http://...)
{REDIRECT(url=url) /}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
Required parameters are in bold
Preferences required: wikiplugin_redirect
| Parameters | Accepted Values | Description | Default | Since |
| page | pagename | Wiki page name to redirect to. | ||
| url | url | Complete URL, internal or external. | ||
| perspective | int | The ID of a perspective to switch to (requires feature_perspective). |
There is a note in changelog.txt "redirect feature: if a page contains only #REDIRECT pagename, the page view will display the other page. redirect is interpreted only one time" but this doesn't work in 2.4 or 3.1 and will not be added because it would just complexify the wiki parser.
