Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easily administer legacy urls
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config/locales
db/migrate
features
lib
public
spec
README.rdoc
Rakefile
cucumber.yml
nostalgia_extension.rb

README.rdoc

Nostalgia

An extension for the Radiant CMS for easily tracking and rewriting legacy urls.

Overview

Track

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.

Rewrite

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

Install the extension:

$ rake production radiant:extensions:nostalgia:migrate

$ rake production radiant:extensions:nostalgia:update

Track

For viewing all the failed requests, just install the dashboard extension (github.com/saturnflyer/radiant-dashboard-extension, this extension was tested with revision d147225).

Rewrite

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

Meta

Created by Gert Goet

github.com/thinkcreate/radiant-nostalgia-extension

Released under the MIT License: www.opensource.org/licenses/mit-license.php

Enjoy!

Something went wrong with that request. Please try again.