RewriteEngine on
RewriteCond $1 !^(index\.php|tz.php|core|data|static|template|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]