duahireHelper2 years agoHow to redirect to Custom page from Page-initialization-script Hello Team, I have to redirect to one my custom page from Permission denied page(which is throwing 400 error). How to do this from Page-initialization-script
kkritikaMentor2 years agoHi duahire Please try this in Page Init - <#if http.request.url == "PERMISSION DENIED PAGE URL" > ${http.response.setRedirectUrl('CUSTOM PAGE URL')} </#if>
Related ContentCan't get redirects to work in page initialization script to fix JX migration issuePage Initialization ScriptSetting skin from page initialization scriptMaintain URL parameters in a page initialization script redirect?URL Redirects
Recent DiscussionsBoosting a UserGoogle Tag Manager and Google Analytics Setup in Aurora platformSolvedIn Aurora, add additional <script> and <meta> tagsIncremental data for attachments in messages and repliesIncremental data for users data