Attention: first draft!
I just finished the first (working) version of my permalink plugin. From the Readme:
Through this plugin a topic can now have a
permalink-custom_field for lookup that it can be found it.
The plugin operates in two modes: redirect and legacy-mode. When the permalink_redirect setting is set to true (default) in the Administration interface, the plugin will match the permalink and when found redirect to the new URL – this is recommended behaviour. If disabled however, the topic will be only accessible through that permalink and use that instead of the generated links.
.Attention: This plugin requires discourse >= 0.9.9.7 . Please upgrade to master.
This is particularly handy to be set when importing older systems and not wanting to lose the “SEO juice” of their pretty URLS.