title: URL rewriting - Follow my rules and leave physical files alone
body: <p>Noob in mod_rewrite here...I'm developing a new site and using mod_rewrite.</p>
  
  <p><strong>The problem is, when I activate my rules in .htaccess, my links to CSS files and images become unreadable.</strong></p>
  
  <p>For example, I had this:
  <a href="http://www.dico2rue.com/dictionnaire.php?idW=675&amp;word=Resto-basket" rel="nofollow">http://www.dico2rue.com/dictionnaire.php?idW=675&amp;word=Resto-basket</a>
  That I transformed to this:
  <a href="http://www.dico2rue.com/dictionnaire/675/Resto-basket" rel="nofollow">http://www.dico2rue.com/dictionnaire/675/Resto-basket</a></p>
  
  <p>I know it's probably because the browser is looking for the CSS file in the
  <a href="http://www.dico2rue.com/dictionnaire/675/css/general.css" rel="nofollow">http://www.dico2rue.com/dictionnaire/675/css/general.css</a> instead of the base directory, but <strong>I was hoping there was a way to to leave physical files alone, and only parse other URLs</strong> in order to avoid full paths (which apparently slows down downloas speed...?...).</p>
  
  <p>thanks.</p>