RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.aspx -f RewriteRule ^(.*)$ $1.aspx