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 webpage 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 hierarchy.
Create a redirect
Navigate to the Portals area and, under the Website section, select Redirects, and then select New on the toolbar.
Enter the redirect information as described below.
|Name||The friendly name of the redirect. (Can be anything. Make it easy to identify.)|
|Website||The website the redirect is associated with. (The site the user is redirected from.)|
|Inbound URL||The partial URL that is to be redirected. (The page the 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 user is being redirected to a link external to the website specified above.)|
|Web Page||A target internal webpage 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 entering the required fields and specifying a value for at least one of the URL, Web Page, or Site Marker fields, select Save.
Use the redirect
When the inbound URL is requested, the browser is redirected to the URL of the target webpage for the matching redirects entry.
For example, for an Inbound URL value of cs-survey with a target webpage set to the Customer Support Survey page, the following request:
results in the browser requesting the following URL:
Configure a Dynamics 365 portal
Add a webpage to render a list of records
Create and run advertisements on a portal
Gather feedback by using polls on a portal
Rate or vote on a webpage or blog post on a portal