Create & Manage Redirects

The redirect management page is where you’ll do most of the work in Redirection. It consists of a table with all your redirects and a section to add new ones. To access this page select the Redirects option in the top menu bar.

Adding A Redirect

Use the ‘add new redirection’ form to create a new redirect.

add_new_redirection

In its most basic form you need to enter a source URL (the URL you are redirecting from) and a target URL (the URL you are redirecting to).

add_source_target

The source URL is always relative to your site. This means, for example, if the URL you want to redirect from is https://myexample.com/old-url, and Redirection is installed on https://myexample.com then the source is /old-url – it is relative to your domain.

If you try and enter a full URL with domain name then Redirection will remove the domain and just use the relative URL.

The target can be any URL, relative or otherwise.

Some things to note:

  • The source URL should be URL encoded. For example, if you want to include a space in your URL you need to encode it as %20
  • The source URL cannot contain a hash #. This is not sent to the server and it is not possible to match against it

Editing a Redirect

Once you’ve created a redirect it will be added to your list. When you hover over the newly created redirect you will see links appear beneath it:

redirect_edit_actions

Press the edit link to edit the redirect in exactly the same way you added it.

Enabling, Disabling, and Deleting

Deleting a redirect removes it from Redirection and it will no longer be active.

A disabled redirect means the redirect still exists in Redirection, but it’s not active. Use this to temporarily disable the redirect without deleting it.

Enabling a redirect re-activates a disabled redirect.

Advanced Redirects

Advanced options are available by clicking the cog icon at the bottom of the redirect edit form.

advanced_edit_options

Clicking this expands the form to show the full range of options:

advanced_redirect_options

These are:

  • Title – enter a text description about the redirect. This will be used instead of the URL in the redirect table, and is designed to help you understand the purpose of the redirect
  • Regex – explained further on the Regular Expression page
  • Match – explained further on the Redirect Matches page
  • When matched – explained further on the Redirect Action page
  • Group – explained further on the Groups page
  • Position – controls the order in which redirects are processed. A lower number has  a higher priority
search previous next tag category expand menu location phone mail time cart zoom edit close