.htaccess and stats


#1

So I’ve run into a bit of a problem. I’ve currently implemented the following in the .htaccess file for my site from the DreamHost wiki:

#Redirect non-www.domain to www.domain RewriteEngine On RewriteCond %{HTTP_HOST} !^www\..* [NC] RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301]

Now the problem is that if I click on the link provided in the Site Statistics page in the Control Panel, the one that links to http://your_domain.com/stats/ , the server attempts to re-direct me as per the .htaccess file. Since the page its re-directing from was going to ask for authorization to log in order to proceed, I get re-directed to a failed authorization page, or I would if that page existed. This isn’t keeping me from manually accessing site statistics, I was just wondering if there was a way to change the Site Statistics page to have an option for either a http:// or http://www. link for convenience.