Refined .htaccess file