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.

Code (apache)
  1.  
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_URI} ^/(stats|failed_auth\.html)/?(.*)$ [NC]
  5. RewriteRule ^.*$ - [L]
  6.  

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: , , , , ,

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • co.mments
  • del.icio.us
  • digg
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • Spurl
  • TailRank
  • YahooMyWeb

Recommended Reading

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Windows Vista Cracked?
How to Make your RSS Feeds Pop in Wordpress

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

This has not worked for me, unfortunately. Maybe there is a different problem with the latest release?

Using this .htaccess makes my site not work at all. I also tried the SSH solution they recommend but that didn’t work either. Aargh. I wonder if any of your other readers have this problem?

DD

Design Dude, have you tried adding the snippets before the Wordpress own Rewrite rules?

Hi Jon, yes I did it a couple of times, exactly as it is shown on the Wordpress Codex. No luck. I’m going to keep searching or maybe end up contacting Dreamhost. Will follow up if I figure it out.

Kramer auto Pingback[...] [...]

Thanks for the example. I was mucking about in my htaccess with mixed success. This is working nicely.