From version < 16.5 >
edited by Vincent Massol
on 2017/10/06
To version < 17.1 >
edited by Gunter Ohrner
on 2019/06/24
< >
Change comment: Added additional information that it may be non-obvious how to edit the redirect again, and added link to instructions.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.GOhrner
FAQCode.FAQClass[0]
answer
... ... @@ -21,6 +21,7 @@
21 21  {{/velocity}}
22 22  {{/code}}
23 23  )))
24 + (Also see [[Redirect>>snippets:Extension.Redirect]] for how to alter / remove the redirect again in case your default editor is the WYSIWYG editor.)
24 24  * Option 4: Modify the ##web.xml## file to control what ##http:~/~/<yourserver>/## should redirect to. Specifically, edit ##WEB-INF/web.xml##, locate the section with the servlet responsible for the redirect (the one with the line {{code}}<servlet-class>com.xpn.xwiki.web.HomePageRedirectServlet</servlet-class>{{/code}}, and change that section to contain something like:(((
25 25  {{code}}
26 26  <servlet>

Get Connected