Customers frequently want to have a simple url that redirects to a page deeper in the site, or they want to allow for a legacy url to be used with the site and automatically redirect to a new url in the site. Page redirects allow a content author to specify a url that when requested will be redirected on a permanent or temporary basis to a specific web page or web file. These redirect urls are managed separately from the page content so that they do not have to fit directly in the web heirarchy.

Creating the Redirect

Navigate to the Portals area and, under the Website section, select Redirects. Next, click New on the toolbar.

Use the form to enter the redirect information.

Name Description
Name The friendly name of the redirect. (Can be anything. Make it easy to identify)
Website  The website the redirect is associated with. (Site user is redirected from)
Inbound URL  The partial URL that is to be redirected. (Page user is redirected from)
Status Code

One of the following:

  • 302 (Temporary Redirect) - returns a temporary redirect status. This is the default.
  • 301 (Permanent Redirect) - returns a permanent redirect status indicating the resource has moved permanently.
URL A target External URL to be redirected to. (Use this if the redirect is external to the Website specified above)
Web Page A target internal Web Page to be redirected to. (Use this if the user is being redirected to a page internal to the Website specified above)
Site Marker A target internal Site Marker to be redirected to.

After entring the required fields and specifying a value for at least one of the URL, Web Page, or Site Marker fields, click Save.

Using the Redirect

When the inbound URL is requested, the browser is redirected to the URL of the target web page for the matching redirects entry.

For example, for an Inbound URL value of cs-survey with a target web page set to the Customer Support Survey page, the following request:

http://customerportal.contoso.com/cs-survey

results in the browser requesting the following URL:

http://customerportal.contoso.com/surveys/customer-service-survey/