splittingred/Redirector — pull request #27 by chrischerrett (2012-11-19 14:04:00+00:00)
Title: Develop

Added the ability for redirects to be created whenever a resource alias has changed. This will help none-technical users who aren't familiar with setting up 301 redirects or forget it's importance. The redirect will only be created if a record for that resource does not already exist. This can be enabled/disabled via system settings if required.

- Modified build.transport.php to support two new events, OnDocFormRender and OnDocFormSave
- Modified plugin.redirector.php to capture alias prior to save (OnDocFormRender). If the alias has changed and the system settings permit then add a new redirect record (OnDocFormSave)
- Created new system setting: redirector.on_alias_update (Yes/No)
- Updated readme.txt