title: How to make a url point to an image file without the extention
body: <p>I have a collection of images in specific folders by category on my website. Each image has an <code>ID</code> which is also it's name. The images can be either <code>PNG</code>s or <code>JPG</code>s.</p>
  
  <p>If a <code>PNG</code> image had an <code>ID</code> of <code>abc123</code> how could the URL be <code>example.com/category/abc123/</code> and have the server point to <code>/images/category/abc123.png</code> and not <code>/images/folder/abc123.jpg</code> and vise versa?</p>
  
  <p>I want to try something with .htaccess RewriteCond &amp; RewriteRule but i'm not positive how I would do it.</p>