title: wordpress rewrite rule for images from old domain
body: <p>Basically, I want a htaccess rule to rewrite <code>http://olddomain.com/sitename/wp-content/uploads/.../image.jpg</code> in <code>http://www.newdomain.com/wp-content/uploads/.../image.jpg</code></p>
  
  <p>Notice the "sitename" in old domain url which is nor present in the new domain url.</p>