Talk:Making stats accessible with htaccess
From DreamHost
- This also works with mediawiki installations. --Lquilter 11:37, 24 April 2007 (PDT)
- The WordPress instructions do not make the Long Term Report accessible. Can someone explain how to do this? (i.e., stats/longterm.html) Thanks! (singed for User:UserFriendly by Rlparker 16:56, 12 October 2007 (PDT)
- Actually, they do, assuming the change was done correctly and there is no other problem involved. If you are having a problem with being able to see your Long Term Report, but you can see *any* report, then the .htaccess modification listed here is *not* the problem. You might contact support, or try the forum for additional help. Also, when leaving a comment, it's always polite to leave your name and the date/time. There are a few ways to format your signature in this way, but the most common is to leave two hyphens ( -- ) four tildes ( ~~~~ ) at the very end of your comment, which provides your user name plus the date and time. Thanks! -- Rlparker 16:56, 12 October 2007 (PDT)
[edit] Server error 500
These instructions don't seem to work for me. They enable me to view the stats however when I try to access my Wordpress site I get a Server Error.
If I change .htaccess to the following it works:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(stats|failed_auth\.html).* [NC]
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
-- Chris 19:58, 24 November 2007 (PST)
- If the code in the article didn't work for you, then I suspect you made an error somewhere, because the process, and code, in the article *does* work (as many many users can attest). It is really easy to make a minor typo. One word of warning: While your method may *seem* to work, and may actually "work" for now, should you ever need to update your permalinks, or if some WordPress plugin ever attempts to write to your .htaccess file (a SEO plugin?), you will find your "stats" modifications overwritten. This is why the article keeps that modification *outside* the "WordPress" section, -- Rlparker 21:16, 24 November 2007 (PST)

