|Version 3 (modified by martin_s, 8 years ago) (diff)|
Server Side Redirect from a Wiki Page
This plug-in allow to place a redirect macro at the start of any wiki page which will cause an server side redirect when the wiki page is viewed.
This plug-in is compatible (i.e. can be used) with the client side redirect macro TracRedirect but doesn't depend on it.
A protection for 1st (A->A) and 2nd (A->B->A) order redirect loops is implemented, but higher order loops (A->B->C->A, etc.) must be handled by the browser or the user. Firefox 3 handles redirect loops well.
This plug-in uses the ExtractUrlPlugin, which much also be install.
If you have any issues, create a new ticket.
Download the zipped source from [download:serversideredirectplugin here].
The following 'macro' at the begin of the wiki page will cause a redirect to the OtherWikiPage.
Any other TracLink can be used:
[[redirect(wiki:OtherWikiPage)]] [[redirect(source:/trunk/file.py)]] [[redirect(http://www.example.com/)]]
- 15264 by rjollos on 2016-02-11 05:22:34
Remove unnecessary svn:mime-type on py files
svn:mime-type was set to "plain" for many files.
- 15084 by rjollos on 2015-11-28 17:26:38
1.0.0: Release version 1.0.0
- 15014 by rjollos on 2015-11-02 07:23:02
1.0.0dev: Remove extra div from redirect error message
This change also prepares the messages for translation.