# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
# END WordPress
You can find more help here:
Overcoming the Permalink Problem
My webhost, Dreamhost, offers a lot of cool toys for users to play with. One of them is a statistics program based on Analog, which is virtually hosted for each fully hosted domain at yourdomain.com/stats/. The directory doesn’t actually exist in the file system, but the server takes care of redirecting users.
Kenneth