title: modifying part of URL using htaccess
body: <p>I've moved my abc folder from <strong>/myproduct/abc</strong> directory to <strong>/myproduct/extensions/abc</strong> on my server.</p>
  
  <p>How can I redirect all calls to <code>http://localhost/myproduct/abc</code> to <code>http://localhost/myproduct/extensions/abc</code> ?</p>
  
  <p>Ex : if requested URL is <code>http://localhost/myproduct/abc/pqr.php</code>, it should be redirected to <code>http://localhost/myproduct/extensions/abc/pqr.php</code></p>
  
  <p>Basically I want .htaccess code that can be placed inside /myproduct folder and if someone requests URL like <code>http://localhost/myproduct/abc/pqr.php</code> then it will look for occurrence of /abc/ and replace it with /extensions/abc/
  We cannot replace /myproduct/abc/ by /myproduct/extensions/abc/ as myproduct can have white-labelled to yourproduct or myproduct1 etc.. </p>
  
  <p>Any help would be highly appreciated. :)</p>