Changes for page Welcome

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

From version 6.1
edited by Nimble Infosys
on 2025/11/12 17:51
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,7 +1,8 @@
1 +
1 1  {{velocity}}
2 -## Global redirect from Main.WebHome to LandingPage.WebHome
3 -#if ($xcontext.action == 'view' && $xcontext.page.fullName == 'Main.WebHome')
4 - #set ($void = $xwiki.redirect('LandingPage.WebHome'))
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', '', ''))
5 5  #end
6 -
7 7  {{/velocity}}
8 +