Redirect Plugin
This plugin allows one to produce TWiki topics that automatically redirect to other TWiki topics or URLs.
I typically use this to make easy-to-type shortforms/acronyms of topic names. For example:
- actual content appears under
Main.LightweightDirectoryAccessProtocol
-
Main.LDAP
contains just a redirect tag. Referencing Main.LDAP
anywhere or entering it in the Go box takes one directly to Main.LightweightDirectoryAccessProtocol
Related Topics
Syntax Rules
- Redirect to a topic within the web:
%REDIRECT{"WikiWord"}%
- Redirect to a topic in another web:
%REDIRECT{"TWiki.WikiWord"}%
- Redirect to any URL:
%REDIRECT{"http://google.com/"}%
Caveat
- Once you've added a redirect tag to a topic, you won't ever see the topic itself until you remove the tag. Therefore, to remove or change redirection, you will need to manually enter the appropriate URL to edit the topic.
Redirect Plugin Settings
-
- Set SHORTDESCRIPTION = This plugin allows one to produce TWiki topics that automatically redirect to other TWiki topics or URLs.
- Set DEBUG = 0
Plugin Installation Instructions
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
- Download the ZIP file from the Plugin web (see below)
- Unzip
RedirectPlugin.zip
in your twiki installation directory. Content:
File: | Description: |
data/TWiki/RedirectPlugin.txt | Plugin topic |
data/TWiki/RedirectPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/RedirectPlugin.pm | Plugin Perl module |
- Test if the installation was successful (see above syntax notes)
Plugin Info
Revision: r1.2 - 21 Jun 2003 - 01:38 - Main.smokris