title: rewrite urls , not all urls works
body: <p>I have blog and I want to rewrite the link</p>
  <p><code>site.com/blog</code> -&gt; for the blog index <code>blog_posts.php</code></p>
  <p><code>site.com/blog/{post-slug}</code> -&gt; for the <code>single_post.php?post-slug={post-slug}</code></p>
  <p><code>site.com/blog/topic/{topic}</code> -&gt; for the <code>filtered_posts.php?topic={topic}</code></p>
  <p>my problem is when I access to a post or a topic its access to <code>site.com/blog</code> blog_posts.php</p>
  <p>I think because when access to <code>blog_posts.php</code> and write after it any think like <code>kbjsflgjdouihaiufhslkdf</code> access to <code>blog_posts.php</code></p>
  <p>my try</p>
  <pre><code>RewriteRule ^blog/([0-9a-zA-Zأ-ي-]+)/ single_post.php?post-slug=$1 [NC,L]
  RewriteRule ^blog/ blog_posts.php [NC,L]
  RewriteRule ^blog/topic/([0-9a-zA-Zأ-ي-]+)/ filtered_posts.php?topic=$1 [NC,L]
  </code></pre>
  <p>and if there are any thing that tech all about the .htaccess please gimme a link</p>