title: Why are some of my mod_rewrite rules not working?
body: <p>This is my .htaccess file:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  
  RewriteRule ^es$ index.php?lang=es_ES [L]
  RewriteRule ^pt$ index.php?lang=pt_BR [L]
  RewriteRule ^en$ index.php?lang=en_US [L]
  
  RewriteRule ^index.php index.php [L]
  
  RewriteRule ^inicio$ index.php [L]
  RewriteRule ^nosotros$ us.php [L]
  RewriteRule ^portfolio$ portfolio-masonry.php [L]
  RewriteRule ^contacto$ contact.php [L]
  
  RewriteRule ^home$ index.php [L]
  RewriteRule ^us$ us.php [L]
  RewriteRule ^contact$ contact.php [L]
  
  RewriteRule ^proyectos/([0-9]+)-([a-zA-Z0-9-]+)$ portfolio-single.php?id=$1 [NC,L]
  RewriteRule ^projects/([0-9]+)-([a-zA-Z0-9-]+)$ portfolio-single.php?id=$1 [NC,L]
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>And here is the site: <a href="http://testing.fyrastudio.com/WEB_fyrastudio.com/v3/" rel="nofollow">http://testing.fyrastudio.com/WEB_fyrastudio.com/v3/</a></p>
  
  <p>Everything is working great. But if you choose to see the site in english, and then click on About us, or Contact, the server returns a 404 not found error. 
  But according to these two rules:</p>
  
  <pre><code>RewriteRule ^us$ us.php [L]
  RewriteRule ^contact$ contact.php [L]
  </code></pre>
  
  <p>it should be working just like the rest of the site!</p>
  
  <p>What am I missing?</p>
  
  <p>Thanks</p>