Webmaster Help Forums

Full Version: How to fix Dreamhost stats with Wordpress [404 file not found error]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...

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.
(01-27-2010 12:42 PM)admin Wrote: [ -> ]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...

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.

Forgot to mention this also works with MyBB which this forum runs on!

Thomas

Yes, that this one can be work on this forum. I could notice it and I was assumed that it could be great into this forum. Mybb is accessible for all statistics page.
Ya the code will work,I follow it,thank you.
Reference URL's