Intelligent per-section redirection rules
Add as a submodulegit submodule add https://github.com/symphonists/shrimp.git extensions/shrimp --recursive
Author: Max Wheeler
Build Date: 2010-08-24
Requirements: Symphony 2.1
Upload the 'shrimp' folder in this archive to your Symphony 'extensions' folder.
Enable it by selecting the "Shrimp", choose Enable from the with-selected menu, then click Apply.
Change the URL prefix under "System > Preferences", the default is "s".
Add your redirection rules under "System > Shrimp".
Shrimp works by intercepting any requests, such as
http://blah.com/s/123/ to your preferred URL prefix and constructing a new URL based on any rules you've set up. As Shrimp automatically infers the section your entry ID belongs to, rules are limited to one per section.
If a matching rule is found, any attached datasources are passed the entry id as
$shrimp-entry-id allowing you to resolve the new URL using XPATH in your redirect.
Large sections of this extension has been adapted from Rowan Lewis' Email Template Filter extension. The name "Shrimp" is stolen shamelessly from Dan Benjamin's similarly featured extension for Expression Engine.
1.0.1 -- Made compatible with Symphony 2.1, no longer requires changes to
1.0.0 -- Initial commit
Symphony 2.0.7 to 2.1.x