Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy URL tool #7

Open
ss23 opened this issue Mar 19, 2013 · 0 comments
Open

Legacy URL tool #7

ss23 opened this issue Mar 19, 2013 · 0 comments

Comments

@ss23
Copy link
Contributor

ss23 commented Mar 19, 2013

From http://open.silverstripe.org/ticket/1993

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.

@sminnee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant