title: htaccess mod-rewrite file name, how to format the regex
body: <p>I have a directory in my root called images. I have a naming convention of number-category.jpg. I am using this convention through a PHP script and would like to have a RewriteRule in my htaccess that does something to the effect of word-word-category-number.jpg for SEO purposes.  </p>
  
  <p>So what was once '<code>10-abstract.jpg</code>' is now '<code>fine-art-abstract-art-10.jpg</code>'</p>
  
  <p>I was reading some tutorials and came up with below with no success:</p>
  
  <pre><code>RewriteRule ^([0-9]-[a-z])-art.jpg$ /2/art/$1-$2.jpg [L]
  </code></pre>