Set Up CMS Redirects
How to set up and configure custom 301 redirects in CMS 7.0
Description
This article will detail how to configure, deploy, and test custom 301 redirects on your Ingeniux CMS in version 7.0 and above.
Purpose
Redirects allow you to create user-friendly URLs for pages served by the CMS, allowing users to view pages by entering these easier-to-remember URLs directly into the browser's address bar. They also allow links that were used in prior iterations of your site(s) to continue to function while rendering prior materials that used old URLs useful and relevant.
Requirements
Ingeniux CMS 7.0 or above.
Step-by-Step
Ingeniux recommends configuring redirects through the Redirects app in the Apps pane.
- Log into the CMS client.
- Click the Apps ribbon in the bottom left of your browser.
- Under the Apps pane, click Redirects.
- click Add on the left-hand side of the screen, and the From and To text areas will "unlock," allowing input.
- In the From field, enter the URL from which you want users to be redirected.
- Example: If you would like users to be redirected from www.yourdomain.com/business, enter "business/".
- NOTE: end all From entries that are words with a trailing '/' as it will improve accuracy.
- In the To field, enter the xID or structured URL you wish users to be redirected to.
- Example: 'x123.xml' or 'business-systems.htm'.
- Initiate a publish of any type so that the redirects.xml propagates to all Content Management Servers.
Testing redirects:
- Verify that a publish has been completed since updating, adding, or removing redirects.
- Browse directly to a redirect that you wish to test in your browser of choice. Using 1.5 and 1.6 as an example, browse to www.yoursite.com/business and it should redirect your browser to www.yoursite.com/x123.xml.
Additional Information
- The From field is relative to your domain.
- From entries do not need a leading '/'.
- xIDs in the From entry require the .xml extension.
- From entries that are words (e.g., "student") should have a trailing '/' to make them clearly defined. Otherwise, the redirect will match to any string beginning with the specified word. In other words, "student" in the From field would match requests for www.domain.edu/student as well as www.domain.edu/studentlife and www.domain.edu/studentresources. However "student/" in the From field would only match www.domain.edu/student.
- The To field can contain absolute or relative links.
- Absolute URLs in the To field can be any domain. For instance, you could redirect from "x12345.xml" to www.google.com.
- Relative URLS in the To field are relative to your domain and must exist.
- Query results can not be used to redirect to another site.
There are no comments yet.