Two different sets of stats

  • Author
    Posts
  • #1139460

    meandmydiy
    Member

    Recently, my JetPack stats quit working, so I attempted to disconnect and then reconnect to WordPress. I wasn’t able to reconnect for a few days, but once I did, I noticed that I now have two sets of stats. One is listed under Me & My DIY, the other as Me and My DIY. Not sure why that happened, but I would really like to have my stats merged back into one. I’m pretty sure I read on a forum somewhere that this is possible. Thanks for your help.

    Debbie

    The blog I need help with is www.meandmydiy.com.

    #1139588

    auxclass
    Member

    I flagged this for the staff to help

    #1139591

    meandmydiy
    Member

    Thanks so much, I really appreciate it!

    #1139607

    richardmtl
    Staff

    Hi there!

    It appears to me that your site used to be at http://www.meandmydiy.com/blog/ correct? Did you recently move your WordPress site to simply http://www.meandmydiy.com? I ask because I see 2 sets of stats and 2 sets of subscribers for both sites. Since meandmydiy.com/blog/ is no longer available, do you want me to transfer over your subscribers and your stats? In your case, I don’t think I can merge the stats because it appears that they were 2 distinct sites with different structures, correct? If that is the case, we’re going to have to pick which stats we want. Please give me the address in your browser’s address bar of the correct stats that you want.

    #1139615

    meandmydiy
    Member

    Hi Richard, I can see where the confusion is coming from. Actually, I installed WordPress to http://www.meandmydiy.com/blog, but I have it set up to point to http://www.meandmydiy.com. This is how it’s always been set up, but now that I think about it, I believe I lost my stats at another time, too. Perhaps that’s why there are two sets of subscribers? Is there any way to see what dates are available for each set of stats? I don’t believe they will overlap. The earliest stats would have been in October, which is when I switched over from Blogger. I also have a testblog that I set up on the same hosting site but in a different directory (testblog), for testing changes to my blog, as well as another WordPress installation in another directory (HOW) that isn’t in use, nor has it ever been. If I remember, isn’t there a unique identifier for JetPack stats? Would it be helpful if I provided you with the ones to the two relevant blogs? Like I said, this only happened last week or so, when JetPack quit working. I tried every fix I could find in the forums, to no avail. It eventually came back on its own, but when it did, all my previous stats from the last few months are in a separate account. Thanks again for your help.
    Debbie

    #1139638

    richardmtl
    Staff

    Hello again!

    Just FYI, http://www.meandmydiy.com/blog does NOT redirect me to you your main domain, it gives me a 404 – Page not found error. Did you recently change something with the redirect? Maybe the stats problem started when that redirect stopped. In any case, let me note some things down right now, for the record:

    meandmydiy.com – currently uses Blog ID 41033405 – starts start January 24th

    meandmydiy.com/blog/ – used 41035700 – stats stop January 21

    So, I can merge these 2 stats, if you are positive that they are for the same actual “physical” site. If they aren’t, then the stats will get messed up (because the site structure wouldn’t be the same). Let me know, and I’ll take care of that. You will continue to use the 41033405 id, by the way.

    I will also transfer all of your subscribers to that same ID.

    #1139639

    meandmydiy
    Member

    Hmmm…to my knowledge, people type in meandmydiy.com to get to my blog, but all the files are stored at meandmydiy.com/blog. And yes, apparently something did get changed because I used to be able to type in meandmydiy.com/blog and get to the same home page of my blog, but now I get an error. If it was something I did, it was inadvertent. And January 21st is about the day my stats stopped working, so that must be when it happened. Can I ask you something? I set it up that way originally because I have other stuff in my root directory, and I wanted to keep everything separate, but I didn’t want people to have to remember to type in ‘/blog’, which was why I did the redirect. I can’t, at least at present, see any extra files being generated in my root directory. Should I try to fix the redirect issue before combining the stats? Or leave it as is, since it seems to be working? What would be your advice? Thanks for your help.

    Debbie

    #1139640

    richardmtl
    Staff

    At this point, maybe it’d be worth taking a day to figure out what’s going on with the redirect before we try to merge stats, because when I merge the stats, you will need to disconnect and reconnect Jetpack for it to function properly. Then, if you “repair” the redirect, we might end up back at step one, where it’ll stop working, you’ll disconnect/reconnect, and you’ll end up with a new blog id.

    Do you have someone who can help you to figure out what happened with the redirect? At the very least, your webhost might be able to help. See if you can get some answers, and then once we’re satisfied that things are “stable”, we’ll merge the stats. In any case, you’re not losing any stats because your current blog id is working. There is the issue of your subscribers though, but if you don’t plan on publishing a post for a day or two, they can wait before being migrated to the right blog id.

    One last thing: for some reason, your replies were being blocked as spam by the Akismet anti-spam service. Please contact Akismet directly, filling out the form that will appear when you type “spam” in the text field, and choose “I think Akismet is catching my comments by mistake” from the selections:

    http://akismet.com/contact/

    #1139641

    meandmydiy
    Member

    Hi Richard, I’ve sent an email to Akismet, thanks for the heads up on that. And I agree with you…I’ll see if I can get to the bottom of the redirect issue before you merge the stats. Will get back to you and let you know as soon as I can. Thanks again for all your help. You get an A+. :)

    #1139644

    meandmydiy
    Member

    Hi again, wanted to let you know that fatcow got back to me with this response:

    “I have commented the following code in ‘wp-config.php’ file:
    http://${_SERVER[‘SERVER_NAME’]}/blog”);
    http://${_SERVER[‘SERVER_NAME’]}”);

    http://www.meandmydiy.com/blog/

    They never indicated why the issue happened in the first place, and whether it’s likely to happen again, although they may not know. I guess my question now is – does it look like everything from the WP end is back to normal? I know I still have two sets of stats, and I guess it would be okay to go ahead and combine them now. Wish I could have those three days back, but in the grand scheme of things, it doesn’t really matter. Oh, and Akismet got back to me as well and indicated that they had fixed the problem with my comments, so let me know if it’s otherwise. In any case, thanks again for your help.

    Debbie

    #1139645

    richardmtl
    Staff

    Hmm.. no, it’s not set up right. /blog/ does not redirect.

    The code that they commented out seems to be missing some context around it.

    In any case, go to your Settings -> General page, and then where it says “WordPress Address (URL)” put

    http://www.meandmydiy.com/blog

    And where it says “Site URL”, put http://www.meandmydiy.com

    Let me know once you’ve done that, then I think we should be good to go.

    #1139646

    meandmydiy
    Member

    Interesting. I hadn’t thought to check that, and I could swear that’s how I set it up originally. Not sure how or why it would have gotten changed. I changed it back, so it should be good now. Thanks.

    #1139647

    meandmydiy
    Member

    Actually, when I went to http://www.meandmydiy.com/blog this morning, it DID redirect to http://www.meandmydiy.com. Once I made the chnage, it gives me an error again.

    #1139648

    meandmydiy
    Member

    This is getting really confusing.

    #1139649

    meandmydiy
    Member

    Should I undo the commented section that Fatcow put in?

    #1139650

    meandmydiy
    Member

    Sorry to keep posting, I’m getting a little antsy about this. I found the code in wp-config.php:

    #define(‘WP_SITEURL’, “http://${_SERVER[‘SERVER_NAME’]}/blog”);
    #define(‘WP_HOME’, “http://${_SERVER[‘SERVER_NAME’]}”);

    I’m ready to get rid of the #’s. I just don’t want to mess anything up that you might be doing right now. Let me know. Thanks.

    #1139651

    richardmtl
    Staff

    Hi, that’s the context that we were missing. :)

    Go ahead and remove the #, that basically “hard-codes” the settings that I mentioned in the Settings -> General page. I’ll check in again a bit later.

    #1139652

    meandmydiy
    Member

    Okay, it’s done. Not sure if it’s supposed to take effect right away or not, but I still get an error going to /blog. I’m stepping away from the computer for a bit. Take your time. Will check back later. Thanks again.

    #1139653

    richardmtl
    Staff

    Hmm, I should not be getting a 404 error when I visit http://www.meandmydiy.com/blog/ yet I do.

    Can you try changing the ${_SERVER[‘SERVER_NAME’]} to meandmydiy.com in both lines? We should then have:

    define(‘WP_SITEURL’, ‘http://meandmydiy.com/blog’);
    define(‘WP_HOME’, ‘http://meandmydiy.com’);

    The quotes should be as I have them as well (single quote marks, not double).

    Let me know how that works out. I don’t want to transfer your stats until we can get this set properly! :)

    #1139654

    meandmydiy
    Member

    Okay, I’ve done that. Does it make any difference whether there’s a ‘www’ in front or not? I tried it both ways, but neither seemed to work. :( At least not yet anyway. I left it without the ‘www’. Thanks.

The topic ‘Two different sets of stats’ is closed to new replies.