Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to automatically redirect users who navigate to any CMS pages to Service Portal - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to automatically redirect users who navigate to any CMS pages to Service Portal
KB0722455

How to automatically redirect users who navigate to any CMS pages to Service Portal


11241 Views Last updated : Jun 5, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Explore options to automatically redirect users from a content management site (CMS) page to Service Portal. This ensures that users of a legacy CMS are redirected to and continue using the Service Portal. 

 

Process

Use any of these three options to implement the automatic redirect to Service Portal: 

Option #1

Modify the layout (which is just a UI macro) of the CMS page to contain the following code:

To do this:

  1. Go to the CMS home page.
  2. In the default layout, under the Layout field, find CMS 1 Column.
  3. Select the i icon to go to that UI macro.
  4. At the bottom of the XML script, but before the </j:jelly> part, insert the following code"
<script>

window.location.replace("/the_sp_suffix")

</script>

 

Option #2

Create a custom global UI script that redirects when it detects a URL containing /your_cms_suffic.

For detailed steps, refer to this community post. 

 

Option #3

Modify the CMS pages to have a container by adding a content block that displays a redirect message. The link should contain the link to the Service Portal page (that is, /sp).

Release

Applicable to all versions that use CMS and Service Portal

Related Links

Configure a content block

Creating a global UI Script

Configure Content Management sites


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.