Wiki source code of Using the Customware Redirection Plugin
Last modified by Normann P. Nielsen on 2012/12/30 17:58
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{error}}This Macro should not be used or considered as a security macro.{{/error}} | ||
| 2 | |||
| 3 | = In the Rich Text Editor (RTE) = | ||
| 4 | |||
| 5 | This redirects every User to http://www.atlassian.com | ||
| 6 | |||
| 7 | [[image:RedirectSample1.jpg||width="390"||height="109"||alt="RedirectSample1.jpg"]] | ||
| 8 | |||
| 9 | This redirectes all users that is not member of "sales-users" to [[http://www.atlassian.com]] | ||
| 10 | |||
| 11 | [[image:RedirectSample2.jpg||alt="RedirectSample2.jpg"]] | ||
| 12 | |||
| 13 | = In the Layout(s) for Global, Page, Blog post etc.. = | ||
| 14 | |||
| 15 | This redirects all requests to the Start page in the Public Space: | ||
| 16 | |||
| 17 | |||
| 18 | {{code}} | ||
| 19 | $helper.renderConfluenceMacro("{redirect:Public:Start|0}") | ||
| 20 | {{/code}} | ||
| 21 | |||
| 22 | Placed in the Welcome Message: | ||
| 23 | |||
| 24 | |||
| 25 | {{code}} | ||
| 26 | {redirect:Public:Start|0} | ||
| 27 | {{/code}} |