wiki:ServerSideRedirectPlugin

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

--

Server Side Redirect from a Wiki Page

Description

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.

Dependencies

This plug-in uses the ExtractUrlPlugin, which much also be install.

Bugs/Feature Requests

Existing bugs and feature requests for ServerSideRedirectPlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Example

The following 'macro' at the begin of the wiki page will cause a redirect to the OtherWikiPage. Any other TracLink can be used.

[[redirect(OtherWikiPage)]]

Recent Changes

17895 by rjollos on 2020-12-03 21:48:50
TracServerSideRedirectPlugin 1.0.2: Bump versions and release
17894 by rjollos on 2020-12-03 21:47:51
TracServerSideRedirectPlugin 1.0.1: Add release command
17891 by rjollos on 2020-12-03 21:43:41
TracServerSideRedirectPlugin 1.0.1: Remove www prefix from URL
(more)

Author/Contributors

Author: martin_s
Contributors: