I'd basically like to get
/path/file+name+with+plusses.mp3
to rewrite to
/path/file name with plusses.mp3
In my case wordpress is intercepting the request and giving a 404. But the file does indeed exist.
Given the constraints of the regex in mod_rewrite implementation, I haven't yet seen a straightforward way of doing this.
Try this rule:
RewriteRule ^([^+]*)\+(.*) $1\ $2 [N]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With