title: How to use .htaccess for url rewrite?
body: <p><a href="https://i.stack.imgur.com/LUQh3.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/LUQh3.jpg" alt="enter image description here"></a>I used .htaccess for url rewrite.These code used.</p>
  
  <pre><code>RewriteRule  ^products/([0-9]+)/?$    search.php?srhCat=$1    [NC,L]    # Handle product requests
  </code></pre>
  
  <p>These rule is ok to call php file.But other css,image path is wrong.
  How to solve these error.</p>