Changes for page Welcome

Last modified by Nimble Infosys on 2025/11/13 10:09

From version 3.1
edited by Nimble Infosys
on 2025/11/12 17:15
Change comment: There is no comment for this version
To version 5.1
edited by Nimble Infosys
on 2025/11/12 17:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,2 +2,8 @@
1 -#set ($response.sendRedirect($xwiki.getURL('LandingPage')))
2 2  
2 +{{velocity}}
3 +## Redirect all users from Main.WebHome to LandingPage.WebHome
4 +#if ($xcontext.action == 'view' && $xcontext.currentWikiName == 'xwiki' && $xcontext.page.name == 'WebHome' && $xcontext.page.space == 'Main')
5 + $!response.sendRedirect($xwiki.getURL('LandingPage.WebHome', '', ''))
6 +#end
7 +{{/velocity}}
8 +