RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(((index|default)\.(htm|html|php|asp|aspx))|home/*|main/*) [NC] RewriteRule .* http://%{HTTP_HOST}/ [R=301,L,NC]