AnimeBlogger.net Forums Forum Index AnimeBlogger.net Forums
Anime/Manga Blogging Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to access your subdomain statistic (fix for htaccess)

 
Post new topic   Reply to topic    AnimeBlogger.net Forums Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
akurashy



Joined: 28 Aug 2006
Posts: 15
Location: Melon bread factory!

PostPosted: Sun Oct 08, 2006 6:26 pm    Post subject: How to access your subdomain statistic (fix for htaccess) Reply with quote

I don't know if this has been posted but I been going a bit nuts.

As you may know, maestro's host also include statistics, (NOTE, ONLY FOR THOSE HOSTED IN ANIMEBLOGGER.NET)

Edit your .htaccess,

delete everything there and replace with
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
# END WordPress


This allows you to enter your statistics without any problem. example,

http://shuffledt.animeblogger.net/stats , or http://yourblog.animeblogger.net/stats

(Using your user and password given to you). yes! i did it maestro XD
_________________
Shuffled Thoughts! (Yet another anime blog o.o)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Maestro4k
Site Admin


Joined: 04 Jun 2005
Posts: 1397

PostPosted: Tue Oct 10, 2006 1:50 am    Post subject: Reply with quote

Just a note here, if you can't log into the stats area once you apply the fix (thanks for figuring that out Akurashy!) E-mail me and I'll fix it. I generally forget to add the user to the stats access list since it has to be done seperately. Sad
Back to top
View user's profile Send private message Visit poster's website
Glazier



Joined: 21 May 2006
Posts: 9
Location: Tbilisi

PostPosted: Tue Oct 10, 2006 10:59 am    Post subject: Reply with quote

Yep, i can't login... Rolling Eyes
But maybe I am doing something wrong Razz because my blog becomes inaccessible too Crying or Very sad .
Back to top
View user's profile Send private message MSN Messenger
akurashy



Joined: 28 Aug 2006
Posts: 15
Location: Melon bread factory!

PostPosted: Tue Oct 10, 2006 4:51 pm    Post subject: Reply with quote

Glazier wrote:
Yep, i can't login... Rolling Eyes
But maybe I am doing something wrong Razz because my blog becomes inaccessible too Crying or Very sad .


do you have re-write urls enabled in the admin panel of your wordpress?
_________________
Shuffled Thoughts! (Yet another anime blog o.o)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Glazier



Joined: 21 May 2006
Posts: 9
Location: Tbilisi

PostPosted: Tue Oct 10, 2006 5:30 pm    Post subject: Reply with quote

Permalinks are enabled, so I guess re-write is enabled...
Back to top
View user's profile Send private message MSN Messenger
akurashy



Joined: 28 Aug 2006
Posts: 15
Location: Melon bread factory!

PostPosted: Tue Oct 10, 2006 5:36 pm    Post subject: Reply with quote

Glazier wrote:
Permalinks are enabled, so I guess re-write is enabled...


sorry i always mess up re-write with permalinks, what's your site after all @_@ *don't know how it reacts if i can't see it* also since there are other options of permalinks which one you chosed?
_________________
Shuffled Thoughts! (Yet another anime blog o.o)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Glazier



Joined: 21 May 2006
Posts: 9
Location: Tbilisi

PostPosted: Wed Oct 11, 2006 4:18 am    Post subject: Reply with quote

"date & time based" permalinks...
here - http://distantstar.animeblogger.net/ Smile
Back to top
View user's profile Send private message MSN Messenger
Maestro4k
Site Admin


Joined: 04 Jun 2005
Posts: 1397

PostPosted: Wed Oct 11, 2006 8:15 am    Post subject: Reply with quote

Glazier wrote:
"date & time based" permalinks...
here - http://distantstar.animeblogger.net/ Smile

You were copying it wrong apparently, I just fixed it for you and it's working fine.

From what I've seen, for Word Press 2.0 and higher this:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
# END WordPress

handles all types of permalinks. Word Press basically just grabs every URL that hits its root directory or below and parses it. That's why the rules to allow you to get to the stats have to be above the main Word Press section.

In any case you needed to have your login added to the stats too, I took care of that as well.

Do note if you rebuild permalinks it's possible Word Press will overwrite your .htaccess to just its rules. If that happens let me know and I can fix it again.
Back to top
View user's profile Send private message Visit poster's website
Glazier



Joined: 21 May 2006
Posts: 9
Location: Tbilisi

PostPosted: Wed Oct 11, 2006 3:25 pm    Post subject: Reply with quote

Thanks, Maestro, now everything works perfect .
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AnimeBlogger.net Forums Forum Index -> General Chat All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Page created in 0.087 seconds with 23 SQL queries
  Username:    Password:      Remember me