Fix Dreamhost Stats problem in WordPress


Users who has installed WordPress blog application on Dreamhost may noticed that they can’t access the Dreamhost stats page on their blog (sub)domain.

This is caused by the way WordPress handle URL in its internal system. However you can fix this issue by adding a few lines in your WordPress .htaccess file.

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

Make sure you put the lines before the WordPress rewrite rule. Finally overwrite the .htaccess files on the server and the Dreamhost stats should be back working by now.

You can read the full text of the tutorial in Dreamhost Wiki page.

[tags]dreamhost,hosting,wordpress,htaccess,mod_rewrite,apache[/tags]

Related Posts:

  • No Related Posts

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>