Trouble Viewing Site Stats

Trouble Viewing Site Stats

Posted by: mahables
Posted on: 2007-04-25 15:20:00

*Update* - I should have consulted the wiki first. All I had to do was insert this code above the wordpress mod_rewrite in the .htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth.html)/?(.*)$ [NC]
RewriteRule ^.*$ - [L]
</IfModule>

Here's the link to the wiki:
http://wiki.dreamhost.com/index.php/Making_stats_accessible_with_htaccess

On one of my sites I'm using wordpress with clean urls via mod_rewrite. As a result, when I try to view the site statistics at "site.com/stats", I get a 404. All my other sites work fine. I can easily access the stats. How can I rectify this little problem?

Edited by mahables on 04/25/07 03:34 PM (server time).

Tags: mod rewritehtaccess filesite statswordpresswikimod rewritehtaccess filesite statswordpresswiki