title: How can rewrite url using htaccess when add custom foulder name in url
body: <p>I want to rewrite my URL using htaccss .I am working project in laravel 4 .I need to add following  names with url.but its showing error.</p>
  
  <p>The names are like ,
  admin,government,bus,school</p>
  
  <p>My current site url is :<a href="http://localhost/myproject/" rel="nofollow">http://localhost/myproject/</a></p>
  
  <p>But i want to access url following like,</p>
  
  <p>1)<a href="http://localhost/myproject/admin" rel="nofollow">http://localhost/myproject/admin</a></p>
  
  <p>2)<a href="http://localhost/myproject/government" rel="nofollow">http://localhost/myproject/government</a></p>
  
  <p>3)<a href="http://localhost/myproject/bus" rel="nofollow">http://localhost/myproject/bus</a></p>
  
  <p>4)<a href="http://localhost/myproject/school" rel="nofollow">http://localhost/myproject/school</a></p>
  
  <p>This is my current .httacess code,</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>How can i add change to .htaccess file to access above urls.</p>