I need a plugin developed that will allow for a new type of WordPress permalink. There are currently five core types: default, day and name, month and name, post title, numeric. We need a sixth.
This permalink type is similar to how shorturls work. Each post entry (post, page, custom post type, attachment) is assigned a unique alphanumeric number.
This plugin will create a new table in the database with two columns, one with the post id and the other with the alphanumeric key.
The plugin starts by generating four alphanumeric entries. Once all 6,144 posts have a unique id the plugin adds a zero to the old posts and assigns a 5-alphadigit to the next post. Once all 75,000 5-alphadigits have been exhausted the system moves on to six. Because the plugin will add a zero to old posts, thereby changing the url, the plugin must track the old permalink and redirect it to the new one automatically using a 301 redirect. This could be done by adding a third column to the database with the old, 4 alpha-digit permalink.
It is important that this permalink integrate with core WordPress functions such as the_permalink. This permalink type must be a radio option, meaning that it can be turned on or off like any other permalink structure.
WordPress Codex on using permalinks: [url removed, login to view]