Making site stats accessible with htaccess

Dreamhost has a site stats facility included.
But sometimes it is not accessible because of the .htaccess file.
Say WordPress or some customized .htaccess file which will change the rewrite rule.
To make it works, add following code in top of the .htaccess file.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$[NC]
RewriteRule . - [L]

Leave a Reply

Your email address will not be published. Required fields are marked *