To make it working .htaccess file only in root folder
if you add this rules it will only work on files and folders that didnt exist Options -MultiViews +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ index.php?url=$1 [L]