-f parameter ignored for rewrite rule

Can you help me find out what’s wrong with this?

I’m not an Apache programmer, one of the few things I thought I do know is that -f means “is not a file”, which triggers when “not found”, but now i doubt it.

These are my rules, and the problem is that the verification file from google e.g. /8377rsomecode.html is not found (it’s a real file, not a wordpress page)

It should be NOT catched by line marked with ***********

[CODE]
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^blog/(.*).html http://%{SERVER_NAME}/$1 [R=301,L]

RewriteCond %{HTTP_HOST} =!blog/page/.*
RewriteCond %{HTTP_HOST} =!blog/tag/.*
RewriteCond %{HTTP_HOST} =!blog/category/.*
RewriteRule ^blog/(.*) http://%{SERVER_NAME}/$1 [R=301,L]

remaining.html files

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.).html$ /$1 [R=301,L]***********

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]

END WordPress

[/CODE]

Sponsor our Newsletter | Privacy Policy | Terms of Service