Same question for a case insensitive manner as well.
If you want to hack core, you can adjust line 330 of /redirection/models/redirect.php and replace the following:
$this->url = str_replace( ' ', '%20', $this->url );
$matches = false;
with:
$url = strtolower($url);
$this->url = str_replace( ' ', '%20', $this->url );
$this->url = strtolower($this->url);
$matches = false;
as seen in this thread.
https://ww.wp.xz.cn/support/topic/plugin-redirection-case-insensitive-option?replies=8#post-3098586
This really needs to be a global setting.
Please John! 🙂
I’d like this feature aswell
You can do it with a regex by adding (?i) to the front.
Source URL (?i)^\/old-url\/
Target URL /new-url/
I’d prefer a simple checkbox to having to convert everything to regexs though.
Enchiridion, thanks for the info. I am new to regex and tried adding (?i) in front of the source but the redirect did not occur when I used an uppercase character in the URL as a test. Am I supposed to also add ^\ after the ?! and then \/ at the end like your example above? So, it looks like this: (?i)^\/old-url\/ instead of this (?i)/old-url. Thanks!
I agree this would be a great feature. Or just enabled by default. I can’t image someone wanting /abc to redirect but not /ABC ?
BlackApps, did you also enable the regex box? It seems to work for me.
Thanks Enchiridion.