Redirects

Redirects

UWM Simple 301 Redirects Plugin

Redirects can be placed on any UWM WordPress site by using the UWM Simple 301 Redirects plugin. First, navigate to Settings → 301 Redirects on the WordPress dashboard.

Note: If the 301 Redirects plugin is missing from the dashboard, it will need to be installed. Place a support request with UWM Campus Web & Mobile Services to add this plugin.

Fields for Simple 301 Redirects

On the left hand side, enter the ending part of the original URL you wish to redirect from. For example, if you were on the LSITO website and the original URL is https://uwm.edu/lsito/request-support/purchasing/, you would enter /request-support/purchasing/.

On the right hand side, enter the destination URL you would like to redirect to. For example, if the destination URL is https://uwm.edu/technology/purchase-request/, you would enter https://uwm.edu/technology/purchase-request/.

You can also create a redirect from a URL that doesn’t actually have a page associated with it. For example, the URL https://uwm.edu/lsito/digital-measures/ doesn’t actually have a page, but rather it redirects to https://uwm.edu/lsito/web-style-guide/digital-measures/ where the actual page exists. This way the user can just enter https://uwm.edu/lsito/digital-measures/ instead of the actual, longer URL.

Note: The 301 Redirects plugin can only redirect pages/URLs that originate from the site on which it is installed from. It cannot create a redirect where it redirects from a different site to your current site. The redirect would have to be placed on that other site.

ColdFusion (www4) Website Redirects

To set up a redirect from a ColdFusion (www4) website to a new WordPress version of it, you need to create an .htaccess file and place it in the directory of that ColdFusion site. For example, the following would be used to set up a redirect from the old ColdFusion Celtic Studies website to the new WordPress version:

RewriteEngine On
RewriteCond %{HTTP_HOST}  ^cms

RewriteRule ^(.*)$ https://uwm.edu/celtic-studies/ [L,R=301]

This .htaccess file would be placed into the root directory of the Celtic Studies website on the ColdFusion server.

To redirect specific pages, the following would be added to the .htaccess file:

RewriteRule ^faculty.cfm http://uwm.edu/celtic-studies/faculty/ [L,R=301]