This textpattern plugin allows you to assign an arbitrary number of alias URLs to articles.
The motivation for this plugin came from wanting short URLs in print media to reference articles with complicated URLs. What if, in a newsletter, we could say:
To read more, see: http://iicph.org/2010/a
To read more, try to type this accurately in your browser: http://iicph.org/review-the-woman-who-knew-too-much
and still get there?
The help explains the simple steps and the performance issues. In a nutshell:
- Dedicate a custom_X field to article alias URLs.
- Put the plugin tag 1st thing in the default_error page.
- Write the alias URLs in the field in articles following the simple rules.
The plugin uses a slowish LIKE SQL query, but it only happens when there’s a 404, and only happens once per article per browser as the HTTP 301 redirection should get cached.
I looked at the zem_redirect plugin for inspiration.