title: 301 Redirect PDF File
body: <p>I am having troubles redirecting a single pdf file to a new location.</p>
  
  <pre><code>RewriteEngine On 
  RewriteBase /
  
  #REDIRECT QR CODE LINKS TO A NEW SOURCE
  RedirectMatch 301 http://www.sampledomain.eu/assets/fm/download/en-gb/Technical%20documentation/General%20information/Substrates%20table%20Sample.pdf http://www.sampledomain.eu/assets/fm/download/en-gb/Technical%20documentation/Information/01_General%20information/02_Substrates%20table%20Sample.pdf
  </code></pre>
  
  <p>note there are spaces in the URL</p>
  
  <p>I also tried this without success:</p>
  
  <pre><code>#REDIRECT QR CODE LINKS TO A NEW SOURCE
  RedirectMatch 301 ^/assets/fm/download/en-gb/Technical%20documentation/General%20information/Substrates%20table%20Sample.pdf$ http://www.sampledomain.eu/assets/fm/download/en-gb/Technical%20documentation/Information/01_General%20information/02_Substrates%20table%20Sample.pdf
  </code></pre>
  
  <p>how can I make it work?</p>