URL hex characters in .htaccess

Posted by Steve on Pro Webmasters See other posts from Pro Webmasters or by Steve
Published on 2012-09-06T02:04:42Z Indexed on 2012/09/06 3:49 UTC
Read the original article Hit count: 245

Filed under:
|

There is an old page with a space in the filename, and this is no longer found on the website. So I need to redirect this page to another page using a 301 redirect in .htaccess.

If I place the filename directly into .htaccess (Bouquets%20%26%20Loose.html), the redirect does not work. If I escape the % sign like this (Bouquets\%20\%26\%20Loose.html), the redirect still does not work.

How do I get this redirect to work in .htaccess? Thanks.

© Pro Webmasters or respective owner

Related posts about htaccess

Related posts about hexidecimal