mod_rewrite to give PHP get parameters doesn't work
<p>Why is this <code>mod_rewrite</code> not working?</p>

<pre><code>RewriteEngine On

RewriteRule ^([a-zA-Z0-9/_-]+)(|)$ /index.php?url=$1 [L]
RewriteRule ^news/(.*)$ index.php?url=news&amp;id=$1 [NC]
</code></pre>

<p>Here's the <strong>PHP code</strong> for handling the loading of the news:</p>

<pre><code>&lt;?php
$sql = DB::Query("SELECT id,title,longstory FROM news WHERE id = ".filter($_GET['id'])."");
if(DB::NumRows($sql) == 1)
{
    while($news = $sql-&gt;fetch_assoc())
    {
        echo '
        &lt;div class="box"&gt;
            &lt;div class="title"&gt;
                '.$news["title"].'
            &lt;/div&gt;
            &lt;div class="mainBox newsBox" style="float;left"&gt;
                &lt;div class="boxHeader"&gt;&lt;/div&gt;
                '.html_entity_decode($news['longstory']).'
            &lt;/div&gt;
        &lt;/div&gt;';
    }
} else
{
    ?&gt;
    &lt;div class='box'&gt;
        &lt;div class='title red'&gt;Artikel is niet gevonden.&lt;/div&gt;
        &lt;div class='mainBox'&gt;
            Jammer genoeg is dit nieuws artikel niet gevonden!
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;?php
}
?&gt;
</code></pre>

<p>If I use <a href="http://127.0.0.1/index.php?url=news&amp;id=48" rel="nofollow">http://127.0.0.1/index.php?url=news&amp;id=48</a> it's working, but <a href="http://127.0.0.1/news/48" rel="nofollow">http://127.0.0.1/news/48</a> doesn't, even though I have added the <code>mod_rewrite</code> rule in my <code>.htaccess</code>.</p>