• i do love the plugin, but i am at total loss about the regexp. i bever learned how to use it. and as i dont think i will ever need it again i will ask you guys/girls to help me out.

    the incomming urls are like: /boek/364_title
    my redirect that i would need to output to the plugin is simply: ?p=364
    what should i fill in both the fields?

    please help me!

    http://wordpress.org/extend/plugins/redirection/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, if I understand correctly then for your incoming link – /boek/364_title and you want to redirect to link – /boek/364_title?p=364, then you do as follows –

    Source URL: /boek/364_title
    Target URL: /boek/364_title?p=364

    other option are left with default

    hope that will make it work!

    Thread Starter lisegirl

    (@lisegirl)

    the complete strutcure of my site changes biswajeet.
    i had about 800 links /boek/<number>_<title> (used to be drupal structure)
    and now i have wordpress… the easiest is to use the shortlinks for this redirect which would become /?p=<number> thats why i was asking for help with the regexp for that piece…

    grtz. lise

    your syntax: /boek/<number>_<title> => /?p=<number>

    can you try with this –

    Source URL: /boek/\d+
    Target URL: /?p=$1

    Let me know the result…

    Thread Starter lisegirl

    (@lisegirl)

    i am afraid is still gives a 404…

    Will have to check in more details…
    But for the un friendly url structure like (/?p=) you need to put clean url setting OFF in WP permalink setting.

    Thread Starter lisegirl

    (@lisegirl)

    thats not the problem, the shortlink works, even with pretty urls on. with what you wrote, it didnt rewrite the url at all, so maybe it didnt trap it correctly?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Redirection] Regexp help please’ is closed to new replies.