Print this article Edit this article

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 suite 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 ECN 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/

Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: Oct 8, 2007 9:43 am GMT-4 by admin
JumpURL:


Categories