Articles using the Redirect Template are not designed to display page content of their own. The template redirects site users to the target content before the page itself displays.
1. Design
The Redirect Template doesn't display any page content of its own. The template is used to create links in the site navigation which redirect users to either another article, an external link, or a media item.
Redirects can be set as permanent (301 response), temporary (302 response), or act as an alias (404 response) which outputs a direct link to the target.
1.1 Page Title
The page title will be used when an article using the Redirect Template appears in lists, navigational elements and search results. It can be overridden using the article's alternate link text as per the Default Template.
1.2 Page Content
Although articles using the Redirect Template do not display any content of their own, their article summary and related image will appear in search results and list items, as per the Default Template.
2. Redirect Behaviour
The article extras of an article using the Redirect Template allow the article to behave in one of three "modes".
2.1 Permanent
Attempts to navigate to this article will result in a 301 "Moved permanently" response to the configured target.
2.2 Temporary
Attempts to navigate to this article will result in a 302 "Moved temporarily" response to the configured target.
2.3 Alias
Attempts to navigate to this article will result in a 404 "Not found" response. Anywhere a link to this article would be output, a link to the target is output instead.
3. Redirect Targets
Redirect targets are content items that are related to the redirect article. There are three valid targets for redirect articles: an article, a media item, an external link. Should none of these items be related to the redirect article, it will redirect to its first child article. If multiple items are related to the redirect article then the redirect will only target one item, in the following order of priority:
- The first related article
- The first related link (if no articles are related)
- The first related media item (if no articles or links are related)
- The first child article (if none of the above are related)
4. Article Extras
Field Name | Type | Description |
---|---|---|
MODE | Drop-down | Either Permanent, Temporary or Alias |
PASSTHROUGHPARAMS | Drop-down | Yes/No to pass through URL parameters |