---
original_url: "https://jace.pro/blog/redirect-old-cms-pages-to-your-service-portal/"
format: markdown
ai_optimized: true
---

Redirect old CMS pages to your Service Portal- # Redirect old CMS pages to your Service Portal

September 10, 2017 [servicenow ](/tags/servicenow/)[service-portal](/tags/service-portal/)

  Enable AI AnimationAfter your go live (congratulations) if you made the mistake I made and wanted to replace the namespace of your cms with your service portal you will have an issue where old links from past emails, bookmarks and 3rd party sources link to the cms pages.

When I sought out help for this after the fact the responses I got were not helpful.

Don’t use the same name space

Correct all links
- Now that information might have been useful before the go live.

What I did to correct what I could was the following;

- Correct links in outbound messages
- Create a ui page for each page the cms had. E.g. `cmssearchpage.do`

This page you can toss a HTML redirect to the appropriate Service Portal page.

`<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false"
         xmlns:j="jelly:core"
         xmlns:g="glide"
         xmlns:j2="null"
         xmlns:g2="null">
  <script>
    window.location.href = '/cms'
  </script>
</j:jelly>`
---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2017/2017-09-10-sp-redirect.md).

[Redirect old CMS pages to your Service Portal](https://jace.pro/blog/redirect-old-cms-pages-to-your-service-portal/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/redirect-old-cms-pages-to-your-service-portal/*
