<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^/?([a-z0-9_/-]*)$ public/index.php?_url=$1 [QSA,L]
</IfModule>