Custom Portal Loads Twice

Yashraj
Tera Expert

Hi Team,

We have a custom portal built upon Service POrtal. When we try to open it is loanding 2 times. At first it will load with 'company_name.service-now.com/<portal_name> then it loads again with 'company_name.service-now.com/<portal_name>?deviceType=laptop

Anybody knows why it is happening 

Thanks,

Yashraj 

1 REPLY 1

Sanjay191
Tera Sage

Hello @Yashraj  
Please review the following points regarding the issue:

  1. SPEntry Script Include
    Kindly check the SPEntry Script Include used for redirection logic. In some cases, it initially loads the default Service Portal page and then redirects to the custom portal. If any condition is added in the script that affects the redirection flow, it might be causing the double load.

  2. Page-level Redirections
    Please verify if any specific pages within your custom portal are using client-side or server-side redirection. If you're navigating the user to a particular page using such logic, it might be triggering an additional reload (e.g., redirecting to ...?deviceType=laptop after initial load).



  3. page rules modifying the URL after the first load.


    If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
    Thank You