title: htaccess 404 error redirection for /cat/sub/.html like urls
body: <p>How can I redirect such link (below) to 404 error page?</p>
  
  <blockquote>
    <p><a href="http://www.blabla.com/category/sub/.html" rel="nofollow noreferrer">http://www.blabla.com/category/sub/.html</a></p>
  </blockquote>
  
  <p>I generate a SEO friendly links, normally products has url like blabla.com/category/sub/product.html </p>
  
  <p><em>the page doesnt give any error. it just display blank content. I mean i can see static texts like CATEGORY NAME header and but there is no dynamic categoryname next to that, because of url is wrong and cant get record from db. page doesnt display dynamic contents, but display static contents</em></p>
  
  <p>Appreciate helps!! thanks</p>