title: .htaccess RewriteRule also rewriting my css, js and images files. how to ignore these?
body: <p>I want that when user input <a href="http://example.com/abc/123/jon/" rel="noreferrer">http://example.com/abc/123/jon/</a> in URL is actually show this file <a href="http://example.com/abc.php?id=123&amp;name=jon" rel="noreferrer">http://example.com/abc.php?id=123&amp;name=jon</a> and this is easily can be done by adding these lines into htaccess file:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteRule ^abc/(.*)/(.*)/ abc.php?id=$1&amp;name=$2 [L]
  </code></pre>
  
  <p>but my abc.php file having some (css, js) files:</p>
  
  <pre><code>&lt;link href="css/style.css" rel="stylesheet"&gt;
  &lt;script src="js/jquery-1.10.2.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and images like : img/logo.png</p>
  
  <p>but because of my .htaccess file it is searching for style.css here : <a href="http://example.com/abc/123/jon/css/style.css" rel="noreferrer">http://example.com/abc/123/jon/css/style.css</a>
  instead of <a href="http://example.com/css/style.css" rel="noreferrer">http://example.com/css/style.css</a> and similarly for js and images.</p>
  
  <p>i already tried many similar answers here but none of them working for me.i am looking for .htaccess solutions for this.</p>