title: Enable human readable URL's in .htaccess
body: <p>Preface: Yes this question seems like duplicated, and I found related questions, but answers from there didnt help to me. :(</p>
  
  <p>Hello, I want to add human readable URL's support for my PHP project. For now my URL quesry string looks like:</p>
  
  <pre><code>index.php?url=main/index
  </code></pre>
  
  <p>I would like to make it looks like:</p>
  
  <pre><code>index.php/main/index
  </code></pre>
  
  <p>I read following articles:</p>
  
  <p><a href="https://stackoverflow.com/questions/18162686/url-rewrite-get-parameters">Stackoverflow</a></p>
  
  <p><a href="http://www.cheatography.com/davechild/cheat-sheets/mod-rewrite/" rel="nofollow noreferrer">Cheatsheet</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7677070/htaccess-rewrite-get-variables">Stackoverflow</a></p>
  
  <p><a href="https://stackoverflow.com/questions/22853076/htaccess-rewrite-url-with-get-parameter">Stackoverflow</a></p>
  
  <p>But when I do this:</p>
  
  <pre><code>var_dump($_GET['url']); // get empty array
  </code></pre>
  
  <p>, get empty array like no url parameter added.</p>
  
  <p>My current <code>.htaccess</code>:</p>
  
  <pre><code>DirectoryIndex index.php
  
  Options +FollowSymLinks
  
  RewriteEngine On
  
  RewriteBase /
  RewriteRule ^(.*)$ index.php?url=$1 [NC]
  </code></pre>
  
  <p>Can somebody help me please? Thanks!</p>