URL Redirects

There are two ways to add redirects in from any URL under your Drupal domain:

  1. Add a redirect to an external page. 
  2. Add a redirect to an existing Drupal page.

URL redirect TO AN EXTERNAL PAGE

If you want to have a link available that includes your domain, but the content lives on an external site, you can use this method without having to make a page in Drupal at all.  In this way, your URLs are kept consistent. To set up URL redirects to an external webpage, use the following steps:

  1. Open the admin menu and click Administration > Configuration

  2. In the "Search and metadata" section, click "URL redirects".

  3. In the "From" field, add the slug of the URL you would like to use for the redirect. In the "To" field, add the URL of the destination page i.e. the URL to which you like to redirect. Click Save.

    redirect-3

 

URL redirect to an existing Drupal page

URL redirects to pages may be needed if you are updating the URL of a page, but other webpages may still be linking to the old URL. URL redirects in Drupal can be used to make sure these old URLs point to your new page or URL. To set up URL redirects for a webpage, use the following steps:

  1. Navigate to the page to which you like to add a URL redirect and create a new draft.

  2. Scroll down to the bottom and select "URL redirects." Click "Add URL redirect to this node.”

    redirect-1

  3. In the "From" field, add the slug of the URL you would like to be redirected to this page. Click Save.

    redirect-2

  4. Save and be sure to publish changes.