Hello, why will be don't hide the externsion php and html ? # --------------------------------------------------------- # office time rule ... # from 07:00 - 20:00 # --------------------------------------------------------- RewriteCond "%{TIME_HOUR}" ">=20" [OR] RewriteCond "%{TIME_HOUR}" "<07" RewriteRule "^/fridge" "-" [F] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC] RewriteRule ^ %1 [R=301,L] RewriteCond %{REQUEST_FILENAME}\.php -f RewriteCond %{REQUEST_FILENAME}\.html -f RewriteCond %{REQUEST_URI} ^(.+)\.php$ RewriteRule (.*)\.php$ /$1 [R=301,L] RewriteCond %{REQUEST_URI} ^(.+)\.html$ RewriteRule (.*)\.html$ /$1 [R=301,L] RewriteCond "%{HTTP:Accept-encoding}" "gzip" RewriteCond "%{REQUEST_FILENAME}\.gz" -s RewriteRule "^(.*)\.(css|js)" "$1\.$2\.gz" [QSA] # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1] RewriteRule "\.js\.gz$" "-" [T=text/javascript,E=no-gzip:1] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx