title: RewriteRule not working for one specific case
body: <p>I'm banging my head on the wall with this one. I have a rewrite rule in my htaccess file which works for all urls but one. Here's the line</p>
  
  <pre><code>RewriteRule ^([a-zA-Z0-9_-]+)$ content.php?linkid=$1 [L]
  </code></pre>
  
  <p>And the complete htacess</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  Options +FollowSymlinks
  RewriteEngine On
  
  #RewriteRule ^contact-us content.php?linkid=contact-us [L,R]
  RewriteRule ^([a-zA-Z0-9_-]+)$ content.php?linkid=$1 [L]
  RewriteRule ^news/([a-zA-Z0-9_-]+)/([0-9]+)$ media.php?news=$1&amp;pgNo=$2 [L]
  RewriteRule ^news-details/([a-zA-Z0-9_-]+)$ media-detail.php?news_short=$1 [L]
  RewriteRule ^services-list/([a-zA-Z0-9_-]+)$ services-list-new.php?services_list=$1 [L]
  
  RewriteRule ^specialities/([a-zA-Z0-9_-]+)/([0-9]+)$ speciality-listing.php?speciality=$1&amp;pgNo=$2 [L]
  RewriteRule ^services-details/([a-zA-Z0-9_-]+)$ services.php?speciality_short=$1 [L]
  RewriteRule ^treatment-detail/([a-zA-Z0-9_-]+)$ treatment-detail.php?treatment_short=$1 [L]
  RewriteRule ^testimonial/([a-zA-Z0-9_-]+)/([0-9]+)$ testimonials.php?testimonial=$1&amp;pgNo=$2 [L]
  RewriteRule ^testimonial-detail/([a-zA-Z0-9_-]+)$ testimonial-detail.php?test_short=$1 [L]
  RewriteRule ^photo-gallery-detail/([a-zA-Z0-9_-]+)$ photo-gallery-detail.php?photo_short=$1 [L]
  RewriteRule ^media/([a-zA-Z0-9_-]+)/([0-9]+)$ media.php?media=$1&amp;pgNo=$2 [L]
  RewriteRule ^media-detail/([a-zA-Z0-9_-]+)$ media-detail.php?media_detail=$1 [L]
  RewriteRule ^doctor-profile/([a-zA-Z0-9_-]+)$ doctor.php?doc_short=$1 [L]
  RewriteRule ^make-an-appointment/([a-zA-Z0-9_-]+)$ make-an-appointmen.php?appointment_id=$1 [L]
  RewriteRule ^current-openings/([a-zA-Z0-9_-]+)/([0-9]+)$ current-openings.php?current_opening=$1&amp;pgNo=$2 [L]
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>So this works for <code>domain.com/privacy-policy</code> which goes to <code>domain.com/content.php?linkid=privacy-policy</code> and a few others like testimonials, services, career etc</p>
  
  <p>BUT, it doesn't work for contact-us, i.e. <code>domain.com/contact-us</code></p>
  
  <p>I've even tried the hard coded version above which is the commented line above. Any ideas guys?</p>
  
  <p><strong>EDIT:</strong>
  I've tried using the url <code>domain.com/content.php?linkid=contact-us</code>which works correctly but <code>domain.com/contact-us</code> gives me the error <strong>The requested URL /contact-us was not found on this server.</strong>. </p>
  
  <p>I've also discovered another url that's not working and it is <code>domain.com/media/list/1</code> which says <strong>The requested URL /media.html/list/1 was not found on this server.</strong> I don't know where it's getting media.html from. There was a file named media.html in the file structure so I removed that and the link started working. That's not the case with contact-us though.</p>