Changes for page How to change the home page destination?
Last modified by Gunter Ohrner on 2020/01/28
Change comment:
Added additional information that it may be non-obvious how to edit the redirect again, and added link to instructions.
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- FAQCode.FAQClass[0]
-
- answer
-
... ... @@ -21,7 +21,7 @@ 21 21 {{/velocity}} 22 22 {{/code}} 23 23 ))) 24 - ( See [[instructions>>snippets:Extension.Redirect]]in case your default editor is the WYSIWYG editor.)24 + (Also see [[Redirect>>snippets:Extension.Redirect]] for how to alter / remove the redirect again in case your default editor is the WYSIWYG editor.) 25 25 * 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:((( 26 26 {{code}} 27 27 <servlet>