Changes between Version 10 and Version 11 of ServerSideRedirectPlugin
- Timestamp:
- Mar 12, 2015, 9:47:22 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerSideRedirectPlugin
v10 v11 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Server Side Redirect from a Wiki Page =3 2 4 == Description == 3 = Server Side Redirect from a Wiki Page 4 5 == Description 5 6 6 7 This plug-in allows one 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. … … 14 15 Direct after the redirect target is added (or modified) Trac will automatically reload it, as it does with all wiki pages. This plug-in will detect this and not redirect but display the wiki page with the redirect target URL printed to provide feedback about the successful change. However, further visits will trigger the redirect. 15 16 16 == Dependencies ==17 This plug-in uses the ExtractUrlPlugin, which must also be install.18 19 17 == Bugs/Feature Requests == 20 18 … … 24 22 If you have any issues, create a 25 23 [/newticket?component=ServerSideRedirectPlugin&owner=martin_s new ticket]. 24 25 [[TicketQuery(component=ServerSideRedirectPlugin&group=type,format=progress)]] 26 26 27 27 == Download == … … 33 33 You can check out ServerSideRedirectPlugin from [/svn/serversideredirectplugin/0.11 here] using Subversion, or [source:serversideredirectplugin/0.11 browse the source] with Trac. 34 34 35 == Configuration ==35 == Installation 36 36 37 Enable the plugin in: 37 Dependencies: ExtractUrlPlugin must also be installed. 38 38 39 /trac/env/Project/conf/trac.ini: 39 Install the plugin as per the usual installation steps. 40 41 Enable the plugin in `conf/trac.ini` as follows: 40 42 41 43 {{{ … … 48 50 You may need to restart your Web server. 49 51 50 == Usage Examples ==52 == Examples 51 53 52 To use the plugin place the following trac macro at the begin of the wiki page .54 To use the plugin place the following trac macro at the begin of the wiki page: 53 55 {{{ 54 56 [[redirect(OtherWikiPage)]] 55 57 }}} 56 or 58 59 or: 60 57 61 {{{ 58 62 [[Redirect(OtherWikiPage)]] 59 63 }}} 64 60 65 The macro is normally not executed, but the plugin will scan every wiki page for it and 61 66 execute the redirect before the wiki page is send to the user. However, a fall-back implementation of the macro