<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^([A-Z_\-0-9]+)\.css$ /Example.php?file=$1 [L,NC] </IfModule>