• Resolved cduyvis

    (@cduyvis)


    Hi, I’m looking to redirect basically all my category/taxonomy archives. For example:

    Source: /genre/thriller/
    Target: /blog/?_sft_genre=thriller

    Since there’s a lot of individual taxonomy names I tried doing it more broadly:

    Source: /genre/
    Target: /blog/?_sft_genre=

    Unfortunately, that then leads to URLs like:
    /blog/?_sft_genre=thriller/
    Which doesn’t work with the final slash.

    This is probably super easy with regex but I’m completely new to that – I tried a few things but failed miserably. Could you point me in the right direction? Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    What is your regex? The examples you gave above don’t contain any regular expressions.

    Thread Starter cduyvis

    (@cduyvis)

    I tried a few things but deleted them when they didn’t work; I don’t recall offhand now what I tried, I’m afraid.

    Plugin Author John Godley

    (@johnny5)

    Ok, can you create your expression again?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripping final slash on target URL’ is closed to new replies.