I've figured out slashes and punctuation, but how to deal will pluralisation?
-
Hi, I need redirects to work with and without trailing slashes AND I need the url capitalisation to be able to vary. I’m aware that there have been many discussions on here about how these abilities should be built in but in the mean time I don’t mind doing a bit of extra work and have found the following solution:
Source:
(?i)/abc[/]?
Target:/xyz/
Using the above approach with Regex enabled works perfectly but with one issues: abc diverts to xyz fine, however if the source for example is abcd then it will divert to xyz/d (adding a trailing slash and taking the part beyond abc and including it after the slash).
Any advice please on how to make this work? It’s important as in addition to accommodating slashes and varying capitalisation I need to be able to have pluralisation – /product and /products – both work as links.
- The topic ‘I've figured out slashes and punctuation, but how to deal will pluralisation?’ is closed to new replies.