duahireAdept2 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?Aurora: Redirect user to related content
Recent DiscussionsHow to fetch all labels associated with TkbArticlePage and count how many times each label is usedIn Aurora, add additional <script> and <meta> tagsSolvedSetup content filter for arabic language24.10 API change breaks navigationSolvedHow to create/subscribe the Webhook in Aurora