<
From version < 87.1 >
edited by Thomas Mortagne
on 2017/03/24
To version < 88.1 >
edited by Vincent Massol
on 2017/09/01
>
Change comment: Copied from platform:DevGuide.Standard URL Format

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -101,6 +101,7 @@
101 101  === Parameter: ##spaceRedirect## ===
102 102  
103 103  Accepted values:
104 +
104 104  * ##true## (default): By default, an URL not ending in ##/## resolves to a non-terminal page, unless the equivalent terminal page already exists.
105 105  * ##false##: An URL not ending in ##/## will always resolve to a terminal page.
106 106  
... ... @@ -107,6 +107,7 @@
107 107  Not applicable (i.e. no effect) for top-level pages and URLs ending in ##/##.
108 108  
109 109  Examples:
111 +
110 110  * ##http:~/~/<server>/xwiki/bin/view/Space1/Space2[?spaceRedirect=true]##: Views the ##Space1.Space2.WebHome## page (if the ##Space2## page doesn't exist. If it exists then it views the ##Space1.Space2## page).
111 111  * ##http:~/~/<server>/xwiki/bin/view/Space1/Space2?spaceRedirect=false##: Force to always view the ##Space1.Space2## terminal page (even if the ##Space1.Space2.WebHome## page exists and even if the ##Space1.Space2## page may not exist).
112 112  * ##http:~/~/<server>/xwiki/bin/view/Space1[?spaceRedirect=false|?spaceRedirect=true|/]##: Will always view the ##Space1.WebHome## non-terminal page because it is a top level page and we can never have a top-level terminal page.

Get Connected