title: Htaccess redirect Laravel 4
body: <p>I have a Laravel 4 installation, and I used the boilerplate's htaccess to redirect my site from: </p>
  
  <p><code>site.com.br</code> to <code>www.site.com.br</code> (notice the <strong>www</strong>).</p>
  
  <p>But when I use a route such as <code>site.com.br/TITLE-OF-MY-POST</code> I am redirected to:</p>
  
  <p><code>www.site.com.br/index.php</code> instead of <code>www.site.com.br/TITLE-OF-MY-POST"</code></p>
  
  <p>Does anyone know why? Here my htaccess rules:</p>
  
  <p>Laravel's rule</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  Options -MultiViews
  RewriteEngine On
  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Boilerplate's rule</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
  RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  &lt;/IfModule&gt;
  </code></pre>