Purpose of URL Redirects

The URL redirect feature lets you make short, easy links to your website content. This is particularly useful for:

  • Broken Backlinks: Use URL redirects to guide users away from 404 pages. This happens when they click on an outdated backlink URL they saved.
  • Printed Materials: URL Redirects replaces long URLs with shorter, more memorable ones for brochures, flyers, and social media posts.
  • Branding and Readability: Short URLs boost brand consistency and make printed materials easier to read.

Create URL Redirects

On the page (node) you want to add a redirect to, go to the redirect tool on the right-hand menu to start a redirect.

Redirect tool in sidebar

Use the sidebar to find the Redirect tool

When specifying the actual link text you want, make sure to use "Linkit" to select the actual node (page).

Select using LinkIt tool

Wait for the item you are selecting to actually be selected, and then press save.

When to Use URL Redirects

This feature is ideal for creating shortlinks for various content types, including:

  • Basic Pages
  • Landing Pages
  • Listing Pages
  • How-To guides
  • News Articles
  • Events
  • FAQs
  • Location Pages

Elements of URL Redirects

  • Long URL (Source): The original, full URL of the webpage you want to redirect users to.
  • Short URL (Destination): The shorter, user-friendly link you create that will redirect to the long URL.

Limitations:

  • Redirection: Users will still see the long URL in their browser address bar even though they used the short link.
  • Redirect Troubleshooting: Empty your content trash can. This ensures the original page is fully deleted. Now, you can create the new URL redirect.
  • Microcontent Exclusion: Currently, redirects cannot be created for microcontent types like promos or link collections.
illustration of hands and puzzle from freepik
Image by storyset on Freepik

Go.Iowa.Gov

All State employees are able to use the State Link Shortener to change a long URL to a shorter URL.

If you don't have access to this service and would like access, please submit a ServiceNow Support ticket.

When using the link shortener, there isn't an option to customize words of the new shorter URL link.

Example of Long Link URL:

example of a long url link

Example of State Employee Link Shortener Link URL:

example of shorter url link

Did you know Google Analytics can help you locate new URL redirects to create?

Google Analytics Pages and Screens report tracks user paths on your website. You can use this feature to track how many users are being directed to your site's 404 page. To find your 404 page title, use the report search bar. Then, click on the "Page title and Screen name" dimension. Look for the small arrow next to the plus symbol.

decorative

To find the URL redirects you need, click the plus symbol. Then, choose the "Page path and screen class" dimension. This will show you the URL string that users are using that brought them to the 404 page. 

You can use this information to create a URL redirect on your site. This will guide your users to the right page. 

decorative

Did you know ServiceNow offers training resources on essential Google products?

Visit the ServiceNow knowledge base and learn valuable insights on utilizing Google Tools:

  • Google Analytics: Track website traffic and user behavior for informed decision-making.
  • Google Search Console: Optimize your website's search engine ranking and visibility.
  • Google Tag Manager: Manage website tags efficiently and gain valuable data insights.
  • Google Programmable Search: Enhance your website's search functionality and user experience.
illustration of two people searching for something
Image by storyset on Freepik

How to Create a Redirect link to go to a new URL

One simple way to create a new shorter AND customized url redirect is by navigating to the "Content" button. Within the dropdown, navigate to "URL redirects" and then select "Add redirect."

Example of how to make a shorter custom url

You can add your new custom short URL in the "Path" field. Then, search for the title of the page you want this URL to link to.

example of how to create a redirect

Find the page in the drop-down list. Select it, then click save. Your new custom redirect URL is created. You can now share this shortened link, and it will lead to the specified page.

How to make a custom shorten url

Remember, don't put the actual URL link in the "to" field. Doing so will cause an error. You will know that it is incorrect when you see a grey pop-up box that says, "No Result" and "No content suggestions found."

Example of the incorrect way to create a redirect:

example of an incorrect way to create a redirect

Only the title of the page should go within the "to" field so that the system can take care of the rest of the linking for you in the back end.

Remember to always save any changes you make by clicking the save button.

URL Redirect Not Working?

If you are getting an error when creating your URL redirect for a page that was previously deleted, this means that the original page is still in the trash can section of the site. In order for the URL redirect to work. you will have to empty your trash can. Redirects for new pages do not work if the original page remains in trash.

To empty your trash can and permanently delete the original page from your site, navigate to the trash tab in the Content tab section.

locating the trashcan inside of the content tab

Click the dropdown arrow next to the page you want to delete, then select purge.

locating the purge button to delete from the trash can

The original page is now deleted from your trash can. It's fully removed from your site. You can create a URL redirect for it now.

Fixing Extra "0" in Page URL

Problem: You have a link that looks like this:

https://dxtraining.iowa.gov/testpage-0

...but you want it to look like this:

https://dxtraining.iowa.gov/testpage

If you create multiple pages there will be a -0, -1, -2 at the end of the URL but there is a way to fix that.

  • Navigate to Content and select "URL Redirects"
example of url redirect
  • Search for the original page URL (without the "-0") and select the edit button to create a redirect to the URL with the "-0" at the end.
url redirect
  • Once the new redirect is created, you can delete the duplicated page that has the -0 (or -1, -2, etc.) and then resave your original page for the issue to be fixed.

This new redirect is created so anyone who may have already bookmarked a link with the version -0 in it can still be directed to the correct page.

Do not redirect to microcontent

Individual links will not work if linked directly to a Video, Google Calendar Embed, or Tableau Embed from the Media Library. Please create a Basic page (or other major content type) and then place that microcontent inside. Use the basic page for generating the redirect link.

Do not redirect to media library items

An individual link *could* be created to go directly to a Document, but it's recommended to instead create a page or Microcontent that links to that document.