ok, apparently i'm having some issues with my .htaccess not working smoothly to allow for both wordpress to run properly and to view my awstats properly at the same time. My host's tech support rewrote me a .htaccess file, but the new .htaccess they did for me kills my feeds and permalink structure to allow awstats to view properly. Anyone got something that'll work for me? I'd appreciate it.
need an .htaccess that will allow for wordpress to run smoothly with awstats
Collapse
X
-
Tags: None
-
You can disable Permalinks, there are some awesome traffic plugins for Wordpress and theres always Google Analytics, sometimes I'll disable permalinks for a quick peek at my stats that way but the results are the same that I get from plugins/Google. -
i like awstats though, and i don't feel like turning off permalinks just to view my stats. surely there is a .htaccess rewrite out there that will do the trick.Comment
-
reckon what you all will, i still needs to find an .htaccess rewrite that works for wordpress and awstats simultaneously. anyone?Comment
-
bumpage, i need a decent .htac cess that can make my dreams come true. someone please help a brotha out here. shit is driving me batshit insane...Comment
-
i tried the following but it doesn't seem to do shit when i try to view domain.com/awstats . it takes em to the 404 page
Code:# BEGIN WordPress RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !^/awstats.*$ [NC] [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPressComment
-
-
Last edited by CyberHustler; 08-02-2008, 12:52 AM.“If you can convince the lowest white man he’s better than the best colored man, he won’t notice you’re picking his pocket. Hell, give him somebody to look down on, and he’ll empty his pockets for you.”Comment
-
try this one, I know I did it on two of my sites but I'm not sure that this is the one I used, back up your old one and try this one
Code:<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 WordPressComment
-
__________________
Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
Check out the #1 WordPress SEO Plugin: CyberSEO SuiteComment
-
to all you guys having a problem with this, i did have it working and then it syopped when i recently upgraded apache an i couldn't figure out why. the reason was that my default 401 error page had changed in httpd.conf and i was getting a conflict with the password protected awstats folder, it was driving me nuts until i found the solution. for anyone who can't get it to work add a 401 error page to your html folder and the following line to your htaccess
ErrorDocument 401 /401.shtml
so my working htaccess file is now
it may look like a stupid solution but if you can't get it to work on your server give this a try.Code:Options +FollowSymLinks ErrorDocument 401 /401.shtml <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^awstats(/.*)?$ - [L] # BEGIN WordPress RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress </IfModule>Comment
-
~TheDoc - ICQ7765825
It's all disambiguation
Comment


Comment