Topics Map > University of Chicago > IT Services > Services & Support > Web Development/Hosting/Resources > UChicago Sites

UChicago Sites - Configuration - Adding URL Redirects

This article explains how site owners can add redirects for UChicago Sites web page.

This section is intended for site owners only. Content editors and contributors do not have access to these functions.

A URL redirect automatically sends visitors from a website address to a chosen destination. For example, if you set up a URL redirect pointing http://yoursite.uchicago.edu/original-page to http://yoursite.uchicago.edu/new-destination, users going to http://yoursite.uchicago.edu/original-page will be directed to http://yoursite.uchicago.edu/new-destination instead.

A URL redirect is useful if you have moved content from one place to another and want to direct visitors who may have bookmarked the old location to the new location. If no redirect is set in place, visitors to the old URL will get an error message, also called a 404 error.

Best Practices for Setting Up URL Redirects

  • Minimize the number of redirects needed to follow a link from one page to another.
  • Make sure that your redirects point to valid pages.
  • Make sure that your redirects do not point to themselves.
  • Make sure that all of your redirects are valid and not empty.

How to Set up URL Redirects

  1. Log in to your site.
  2. Click the Configuration link in the toolbar.

  3. Scroll down to the "Search and metadata" panel and click URL redirects.

  4. If you already have URL redirects in place, check that there is not a URL redirect pointing from or to the old page.
  5. If there is an existing URL redirect pointing from the page you want to redirect from, click the link under the "From" column to edit the redirect. Otherwise, click Add redirect.

  6. Fill in the form.
    • From: Copy and paste the URL of the page you want to direct visitors away. You probably want to open a new tab in your browser to locate this page. You will only need the part after your site's domain name. Example, if the page's URL is "http://sites.uchicago.edu/old-address", copy and paste only "old-address".
    • To: Copy and paste the URL of the page you want to direct visitors to. You probably want to open a new tab in your browser to locate this page. You will only need the part after your site's domain name. Example, if the page's URL is "http://sites.uchicago.edu/new-address", copy and paste only "new-address".
  7. Click Save.

Reviewing List of Pages that Might Need URL Redirects

UChicago Sites automatically logs URLs that do not point to a viewable page and gives users a 404 error message. To give your website visitors a better experience, you can review this list and decide whether to set up redirects to any of these "dead" URLs.

To view this list of URLs:

  1. Log in to your site.
  2. Click the Configuration link in the toolbar.

  3. Scroll down to the "Search and metadata" panel and click URL redirects.

  4. Click Fix 404 Pages tab on the top right.

  5. Review the list of URLs.
    Note: Not every page that gives an error message needs a redirect. Set up redirects only for pages that either 1) have a high number of visits (for example, more than 50 in a month), or 2) have important information that visitors to your site should not miss. You can ignore any URL that you do not recognize (for example, administrator/index.php). These probably arise from a web crawling bot attempting to index your site.
  6. To set up URL redirects for any of the listed pages, click the Add redirect link on the right. Then follow steps 6-7 in the How to "Set up URL Redirects" section.



Keywords:template, website, drupal   Doc ID:32909
Owner:Nana O.Group:University of Chicago
Created:2013-08-21 11:21 CDTUpdated:2017-04-08 13:51 CDT
Sites:University of Chicago, University of Chicago - Sandbox
Feedback:  0   0