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

Plugin Author: TWiki:Main/SteveMokris
Plugin Version: 20 Jun 2003 (v1.000)
Change History:  
20 Jun 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/RedirectPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/RedirectPluginDev

to top

You are here: TWiki > RedirectPlugin

r1.2 - 21 Jun 2003 - 01:38 - Main.smokris to top

TWiki


  • My links
  • Show me topics of interest

TWiki

Welcome


TWiki Web TWiki Web Home Changes Topics Index Search


TWiki Webs Atari Blog Main OneSpaceModeling? Sandbox TWiki TWiki Webs Atari Blog Main OneSpaceModeling? Sandbox TWiki

Jump:

Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback