ただし css、fonts、img、js ディレクトリは除外。
クエリを、requestパラメータとして渡す。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(^/css|fonts|img|js/)
RewriteRule (.*) /index.php?%{QUERY_STRING}&request=$1 [L]
</IfModule>