How to access Website Stats in Dreamhost

Shoutmeloud is hosted on Dreamhost  and it offers some great feature within it’s custom panel and one of them is stats feature. Almost every web hosting account comes with a stats monitoring service. In   Dreamhost if you are using WordPress or Joomla you need to make few changes in your .htaccess file to access stats.

Your domain stats can be access via

http://domain.com/stats

To access your .htaccess file you need to use either any web FTP client or Filezilla.

For more detail on this refer to : How to edit .htaccess file

By default, wordpress .htaccess file has following codes :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

 

You need to add these codes before the above code

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

 

In the end your .htaccess file should have following content :

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

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Now point to your domain stats URL mentioned above . Use your Web ID and Panel login password to access Web stats.

I hope this will help whose website and blogs are hosted on Dreamhost.

Also read : How to Install self hosted wordpress blog

Subscribe on Youtube

Article By
Harsh Agrawal is a blog scientist and a passionate blogger. He is blogging since 2008 & writes about Blogging, SEO, Make money online & tech. His blog, ShoutMeLoud receives 1 million Pageviews/month and have over 700K subscribers.

RECEIVE EXCLUSIVE BLOGGING TIPS

COMMENTs ( 2 )

  1. InkAPoint says

    Hei Harsh,

    Good article dude. I am planning to buy from DreamHost. This helps me to know about their services further.

ADD COMMENT