Zope: Using a Redirects Folder

Overview of a Redirects Folder

A redirects folder allows you to quickly and easily create and manage redirects throughout a site. If you move a portion of your site and would like old URLs to continue to work, or you would like short URLs to things deep within your site, a redirects folder will suit your needs.

Creating a Redirects Folder

  1. Add a folder with the id redirects
  2. Add string properties to that folder where the property Id is the name you would like to redirect from, and the property value is the URL you would like to redirect to.

Example

A redirects folder exists at /ECN/redirects. One of its properties has the ID "KnowledgeBase" and the value "Resources/KnowledgeBase/". This allows users to go to "/ECN/KnowledgeBase/" and be redirected to "/ECN/Resources/KnowledgeBase/". This is an example of using a short URL to get to something deeper in the site.

Below is the table of properties associated with the redirects folder.

Property Id Property value
Microsoft http://www.microsoft.com/
RAT http://www.ecn.purdue.edu/ECN/RAT/
Backups Resources/Documents/Backups/
Docs Resources/Documents/
Documents Resources/Documents/
Documentation Resources/Documentation/
Print Article

Related Services / Offerings (1)

Submit a General Support request using the "Purdue IT Request" button to the right. The Purdue IT Service Desk will examine, follow-up and route as needed.