    RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^ index.php [L]
   RewriteRule ^(.*)/$ $1 [R=301,L]
   
   <IfModule mod_deflate.c>
	<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|html|php|txt|xml)$">
	SetOutputFilter DEFLATE
	</FilesMatch>
	</IfModule>