Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fix Dreamhost stats with Wordpress [404 file not found error]
01-27-2010, 12:42 PM
Post: #1
How to fix Dreamhost stats with Wordpress [404 file not found error]
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.

The WebmasterHelp Admin
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsWebaster Help ForumReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication