I need to perform an equivalent rewrite to:
RewriteRule ^/this%20file.pdf http://www.example.com/
How do I handle the %20?
I have tried
RewriteRule ^/this\%20file.pdf http://www.example.com/
and
RewriteRule ^/this(\s|%20)file.pdf http://www.example.com/
but these have not worked.
The website is part of a Wordpress network, so it doesn't have it's own directory or subdomain where I can place a .htaccess file containing redirects; it's a virtual subdomain with domain mapping. So, the Wordpress .htaccess rewriterule is preceeded by
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]