icon URL Aliases
Created by CPH Cloud Company

Show technical information

How to add a URL alias

If you want a specific URL on your website redirect to another URL on the same or other website, add a URL alias:

  1. On the "System" perspective, select "URL Aliases" and click "Add URL Alias" on the toolbar.
  2. In the view that opens, fill out the following fields:
    • URL Alias: The path for the URL alias, for example: /newsletter or /blog?post=25
    • Redirect Location: The fully qualified URL that the URL alias should redirect to, for example: http://example.com/en/bea/newsletter?campaign=2, or a relative URL to this site, like: about/jobs/available-positions
    • Enabled: If checked, it will enable the redirect. Checked by default. Unchecking this will disable the redirect.
    • Hostname: (optional) A hostname for this URL alias. If specified, this will limit the the redirect to only the hostname you select. Leaving this empty will make the redirect work on any hostname (including localhost).
    • HTTP Status Code: '301' means that the redirect is permanent, '302' indicates a temporary redirect. '302' Temporary by default.
    • Internal Note: (optional) A note about this redirect, for instance, why this alias was created.
    • Use Count: The number of times the URL alias has been used.
    • Last Used: The date this URL alias has been last used
  3. Click "Save" to save the redirect.

Now if you open the URL by its alias in your browser, you'll be redirected to the URL specified in the Redirect Location.