Support » Plugin: Redirection » Redirect to post id

  • I’m looking to redirect from something like /2010/06/some-post to /some-post/12345

    So, I don’t have the post id in the original url, but the new one requires it. What I assumed would happen is the redirection plugin would find the post using the old format, and then make certain things about the post available to allow me to redirect to it with the new format. Something like this:

    /(\d+)/(\d+)/(.*) => /$3/{id}

    Is that possible? I can’t see in the docs where I can do anything like that.

Viewing 1 replies (of 1 total)
  • Sorry, can’t be done with the Redirection plugin. There are no auto-replace variables available.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect to post id’ is closed to new replies.