Setting Redirects

A redirect automatically forwards a website’s visitors from one URL (web address) to another.

Redirects help a website’s visitors get to the right place when a page’s URL has changed or is shortened. Redirects also tell search engines like Google that an existing page has moved or been merged, which is critical for search engine optimization (SEO).

Set redirects when you edit a page’s permalink/URL, move or replace a website, or need a simplified “vanity” URL, such as forwarding sites.wustl.edu/mysite/scholarships to sites.wustl.edu/mysite/academic-programs/applicants/scholarships/.

Replacing an existing site? Learn more about preparing and setting redirects when moving from one site to another.   

How to set redirects in WashU Sites

WashU Sites uses a plugin called Safe Redirect Manager. Internally hosted websites may have a different redirect plugin installed. (Follow these instructions if your site has the Redirection plugin instead.)

  1. From your site’s dashboard, go to Tools Safe Redirect Manager in the left menu.
  2. Click the button Create Redirect Rule at the top of the screen.
  3. Under Redirect from: Enter the relative URL for the original page or source. The relative URL is the path after the site domain, including the forward slash (/). For example:
    1. Full URL (site domain is in bold): https://sites.wustl.edu/bears/athletics/womens-volleyball/
    2. Relative URL (use this): /athletics/womens-volleyball/
  4. Under Redirect to: Enter the URL of the new/destination page. You can enter the full or relative URL.
    For domain-mapped sites, enter the full domain-mapped URL rather than the sites.wustl.edu URL.
  5. Change the HTTP Status Code to 301 Moved Permanently.
  6. Click Publish.
  7. Test your redirect by going to the “from” URL and making sure it redirects to the page correctly.

The Safe Redirect Manager plugin ignores trailing slashes and it is not case sensitive. This means you can enter any of the following variations into the “Redirect From” field with the same result: /seo • /seo/ • /SEO • /SEO/


Examples

sites.wustl.edu/connorlab/

If someone goes to:
https://sites.wustl.edu/connorlab/about-us/

Redirect them to:
https://sites.wustl.edu/connorlab/about/

Screenshot shows the following settings: Redirect from = /about-us . Redirect to = https://sites.wustl.edu/connorlab/about/ .

Domain-mapped site: smithlab.wustl.edu

If someone goes to:
https://smithlab.wustl.edu/education/fellowship/

Redirect them to:
https://smithlab.wustl.edu/education/fellowship-programs/

Screenshot shows the following settings: Redirect from = /education/fellowship . Redirect to = https://smithlab.wustl.edu/education/fellowship-programs/ .