Changes for page Welcome
Last modified by Nimble Infosys on 2025/11/13 10:09
From version
5.1
edited by Nimble Infosys
on 2025/11/12 17:49
on 2025/11/12 17:49
Change comment:
There is no comment for this version
To version
6.1
edited by Nimble Infosys
on 2025/11/12 17:51
on 2025/11/12 17:51
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +2,7 @@ 1 - 2 2 {{velocity}} 3 -## Redirectall usersfrom Main.WebHome to LandingPage.WebHome4 -#if ($xcontext.action == 'view' && $xcontext. currentWikiName == 'xwiki' && $xcontext.page.name == 'WebHome'&& $xcontext.page.space == 'Main')5 - $!response.sendRedirect($xwiki.getURL('LandingPage.WebHome', '', ''))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')) 6 6 #end 7 -{{/velocity}} 8 8 7 +{{/velocity}}