An extension for the Radiant CMS for easily tracking and rewriting legacy urls.
Nostalgia tracks 404s that occur. Via the dashboard (using Jim Gay's dashboard extension github.com/saturnflyer/radiant-dashboard-extension) you get an overview of all requests that failed.
Nostalgia defines a page type called “not found with rewrites”. This is a 404-page with the possibility to 'rescue' requests using rewrite rules.
Install the extension:
$ rake production radiant:extensions:nostalgia:migrate
$ rake production radiant:extensions:nostalgia:update
For viewing all the failed requests, just install the dashboard extension (github.com/saturnflyer/radiant-dashboard-extension, this extension was tested with revision d147225).
When you have an overview what urls fail, you can add rewrite rules:
set the page type of the current 404 page to “not found with rewrites”
add a page-part named “rewrites”
define rewrite rules in this page-part
Example rewrite rules:
/index.html => / /short-url/? => /page/with/long/url/ /old-section/(.*) => /new-section/$1
Created by Gert Goet
Released under the MIT License: www.opensource.org/licenses/mit-license.php