Ticket #1993 (new defect)

Opened 13 months ago

Last modified 13 months ago

Legacy URL tool

Reported by: sminnee Owned by: aoneil
Priority: medium Milestone:
Component: (Unknown) Version:
Severity: medium effort / impact Keywords:
Cc: sminnee Hours:

Description

It would be good to have a system for dealing with Legacy URLs in the CMS.

Perhaps each page in the CMS can have a Legacy URL field. If that URL is visited, the user would be permanently redirected to the new page.

If we implemented the "optional director rule" system for multi-lingual sites - having a director rule that is applied only in some circumstances - we could use that to implement a LegacyURLController that was checked for every URL, but only executed if the URL passed matched something in the LegacyURL column of SiteTree?.

This could be implemented as an add-on module quite easily - a decorator on SiteTree? and an extra, high priority director rule.

Change History

Changed 13 months ago by TimCopeland

  • cc sminnee added

Generally I think is is a really good idea as we have an increasing amount of this work. I don't have much technical input other than to remind you to;

  • Use the HTTP 301 permanent redirect status code so search engines index the new page
  • Map assets (word doc, PDF's etc) in addition to pages
Note: See TracTickets for help on using tickets.