title: URL Redirection with character % in HTACCESS
body: <p>I need to redirect multiple URLs with% character, through htaccess.</p>
  
  <p>Currently the lines are:</p>
  
  <pre><code>RewriteEngine On
  
  RewriteCond% {REQUEST_FILENAME}!-F
  
  RewriteCond% {REQUEST_FILENAME}!-D
  
  RewriteRule ^-.*$ url [R=301,L]
  
  RewriteRule ^%20.*$ url redirection [R=301,L]
  
  RewriteRule ^%22.*$ url redirection [R=301,L]
  
  RewriteRule ^images/files/myname%is-fyle.pdf.*$ url redirection [R=301,L]
  
  From these lines, the redirects do not work are:
  
  RewriteRule ^%20.*$ url redirection [R=301,L]
  
  RewriteRule ^%22.*$ url redirection [R=301,L]
  
  RewriteRule ^images/files/myname%is-fyle.pdf.*$ url redirection [R=301,L]
  </code></pre>
  
  <p>Any ideas on what I'm doing wrong? My knowledge is basic almost, not quite understand why the redirects with % in the URL do not work.</p>
  
  <p>I researched on the use of flags as noescape [NE], but I have not managed to get the redirects from the URLs with the character %.</p>
  
  <p>("url redirection" in te lines of htaccess is the URL that being new to the forum I can not post).</p>
  
  <p>Thank you.</p>
  
  <p>Sep 23: I thank those who have helped me with this problem. However, the URLs with special characters (% and ?) and capital letters do not forward.</p>
  
  <p><strong>I copy and paste the complete code for my htaccess file</strong>:</p>
  
  <p>Here: <a href="http://pastebin.com/yXGQiQzd" rel="nofollow noreferrer">http://pastebin.com/yXGQiQzd</a></p>
  
  <p>I saw in this post <a href="https://stackoverflow.com/questions/1291158/how-to-redirect-to-a-url-containing-an-anchor">How to Redirect to a url containing an anchor (#)?</a> that apparently the answer is posted. However, the matter is in the use of <strong>([])</strong> for the rule. The example is: <strong>([a-zA-Z0-9-_]+)</strong></p>
  
  <p>In my case, for example, these URLs:</p>
  
  <p>images/SchoolContry/wef/pdf/SomethingOfFiles/the reasons behind?s of the ca?da.pdf
  images/stories/Money/memo Matric?cula 2010.doc</p>
  
  <p>Any idea why URLs with special characters (% and ?), space and capital letters redirect not?</p>
  
  <p>Thanks.</p>