How can I create two different permalink structures for a Wordpress blog, determined by an addition to the post meta?
On the old site, articles were available through the following structure:
/index.php/site/articles/[sanitized-title-with-dashes]-[ID] (Note the lack of a trailing slash, the bloat before the article title, and the ID)
Naturally, since we're transitioning to Wordpress, I want the new articles to have their own permalink structure:
Would be it possible to write a function in the theme that, when processing the permalinks, it uses the old structure for posts I've marked as "Legacy" in the Post Edit page. Otherwise, the permalink will be the new structure.
I've already tried the Custom Permalinks plugin, but it can't seem to properly reconcile the old ugly structure with the new one. This was true even when I "conceded" and tried making the new permalink structure index.php/%postname%/.
I'll have no problems creating a new post meta to tell the system whether to apply the old permalink structure or not. The question is, where do I start with setting the permalink in the first place?