Version 1 (modified by Martin Scharrer, 12 years ago) (diff)

New hack ServerSideRedirectPlugin, created by martin_s

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 with the client side redirect macro TracRedirect.

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.

Bugs/Feature Requests

Existing bugs and feature requests for ServerSideRedirectPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:serversideredirectplugin here].


You can check out ServerSideRedirectPlugin from here using Subversion, or browse the source with Trac.


The following 'macro' will cause a redirect to the OtherWikiPage. Any other TracLink can be used.


Recent Changes

17142 by rjollos on 2018-04-16 20:47:25
TracServerSideRedirectPlugin 1.0.1: Conform to PEP8
15264 by rjollos on 2016-02-11 04: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 16:26:38
1.0.0: Release version 1.0.0

Fixes #12564.



Author: martin_s