RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
. RewriteCond %{REQUEST_URI} ^/(assets|css|js|images|fonts)
<IfModule mod_mime.c>
AddType text/plain .php .php3 .php4 .php5 .php6 .phtml .pl .asp .aspx .cgi .exe
</IfModule>
# 301 --- text/faq.html?faq=20 => helpdesk/20/kb.php
RewriteCond %{QUERY_STRING} (^|&)faq\=([0-9]{1,})($|&)
RewriteRule ^text/faq\.html$ /helpdesk/%2/kb.php? [L,R=301]