title: Redirect images in .htaccess
body: <p>I have two domains pointing to one application with different directories that is frontend on <code>www.frontend.com</code> and backend on <code>www.backend.com</code>. I have placed all images in the <code>frontend/uploads</code> folder, while on backend I cannot access the images on <code>frontend/uploads</code>.</p>
  
  <p>How can I redirect all <code>^/uploads</code> to <code>www.frontend.com/uploads</code> using htaccess?</p>
  
  <p>I have tried this:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} ^/uploads/(.*)$
  RewriteRule ^uploads/(.*)$ http://frontend.com/uploads/$1
  </code></pre>