RewriteEngine on RewriteCond %{REQUEST_FILENAME} !/style\.css$ RewriteCond %{REQUEST_FILENAME} !/logo\.png$ RewriteCond %{REQUEST_FILENAME} !/login\.php$ RewriteRule ^(.+) index.php [L]