Redirect toURL (Alias)


URL or Alias redirection is mainly used to redirect old URL to new URL. This is very useful for users who have bookmarked a page that no longer exists.

  1. URL redirection tool (Alias)
  2. Create a redirect
    1. Redirect to a site page
    2. Redirect to another URL
  3. Other functions
    1. Scheduling redirects

 

URL redirection tool (Alias)

TheURL Redirection tool is located in the Home tab and the URL Redirection button.

This tool displays a list of redirections.

Create a redirect

To add a redirection, click on the New alias button (in the Alias tab).

You can add a redirect to a page on the site or on another URL page.

Redirect to a site page

1. Enter a URL relative to the server (URL which will be redirected)

This URL can contain the characters * (equivalent to all characters except '/') or ** (all characters including '/').

Examples: 

  • /en/index.php
  • /en/page/*.html
  • /en/*/.html

2. Select the target page in the sitemap to which the redirection is to be made.

3. You can set an expiry date if you want your alias to be valid until the defined date.
By default, the redirection will be valid for one year.

Redirect to another URL

This option allows you to define more complex redirections

1. Enter a URL relative to the server to be redirected

This URL can contain the characters * (equivalent to all characters except '/') or ** (all characters including '/').

Examples: 

  • /en/index.php
  • /en/page/*.html
  • /en/*/.html

2. Enter a URL such as 'http(s)://' or server-related. /path'.

Use {1}, {2}, {3} ... to substitute them with their values corresponding to the * or ** characters of the basicURL .

Examples:

3. You can set an expiry date if you want your alias to be valid until the defined date.
By default, the redirection will be valid for one year.

 

Other functions

You can modify or delete the currentalias using the following buttons:

EditDelete

Scheduling redirects

The Alias contextual tab features a tool called Alias Order. This field is used to manage the processing priorities of the original URL .

Use the buttons above to change the order of the various redirections. The order of priority varies from top to bottom, with the highest redirection having the highest priority.

Example
The illustration below shows two alias. The first has a URL original encompassing that of the second.

In our case, the /en/university/campus/page-125.html will be accepted by the first alias (it has the highest priority), and the destinationURL will be : /en/university/article/campus/page-125.html.
For this page to be redirected according to the second alias, it will have to be given higher priority than the first alias.
You'll need :
- Select the second alias.
- Then click on the go up

The order of the two aliases is now reversed. Our page /en/university/campus/page-125.html will now be redirected to : /en/university/campus/125.html
In both cases, however, the /en/university/entry-2012.html will be redirected to : /en/université/article/rentrée-2012.html.

Tip
Always make sure that a redirection that is more general than another one always has a lower priority than the second one. Otherwise, the latter will never be used. This is the case in this example (first illustration).

Back to top