Stripping final slash on target URL
-
Hi, I’m looking to redirect basically all my category/taxonomy archives. For example:
Source: /genre/thriller/
Target: /blog/?_sft_genre=thrillerSince 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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Stripping final slash on target URL’ is closed to new replies.