01-27-2010, 12:42 PM
If you host a Wordpress blog with Dreamhost you may have noticed you can't access the statistics page at http://www.yourblogurl.com/stats and get a 404 file not found error. To fix this you need to add this code to the top of the .htaccess file in the root directory of your domain...
Add that to the top of your .htaccess file and you should be able to access your dreamhost statistics page.
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html).*$ [NC]
RewriteRule . - [L]
</IfModule>Add that to the top of your .htaccess file and you should be able to access your dreamhost statistics page.