Need help? Check out our Support site, then

Two different sets of stats

  1. 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.


    The blog I need help with is

  2. I flagged this for the staff to help

  3. Thanks so much, I really appreciate it!

  4. Hi there!

    It appears to me that your site used to be at correct? Did you recently move your WordPress site to simply I ask because I see 2 sets of stats and 2 sets of subscribers for both sites. Since 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.

  5. Hi Richard, I can see where the confusion is coming from. Actually, I installed WordPress to, but I have it set up to point to 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.

  6. Hello again!

    Just FYI, 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: - currently uses Blog ID 41033405 - starts start January 24th - 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.

  7. my knowledge, people type in to get to my blog, but all the files are stored at And yes, apparently something did get changed because I used to be able to type in 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.


  8. 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:

  9. 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+. :)

  10. 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']}"); "

    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.


  11. 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

    And where it says "Site URL", put

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

  12. 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.

  13. Actually, when I went to this morning, it DID redirect to Once I made the chnage, it gives me an error again.

  14. This is getting really confusing.

  15. Should I undo the commented section that Fatcow put in?

  16. 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.

  17. 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.

  18. 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.

  19. Hmm, I should not be getting a 404 error when I visit yet I do.

    Can you try changing the ${_SERVER['SERVER_NAME']} to in both lines? We should then have:

    define('WP_SITEURL', '');
    define('WP_HOME', '');

    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! :)

  20. 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.

  21. Hi again, I've been doing some poking around on my site, and found a folder at

    it contains two files: blank.html and index.html

    blank.html is an empty file.
    index.html contains the following html:

    <FRAMESET border='0' ROWS='*,1'>
    <FRAME SRC=''>
    <FRAME SRC='blank.html'>

    In the root directory is another file at: which contains:

    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    * @package WordPress

    * Tells WordPress to load the WordPress theme and output it.
    * @var bool
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */

    My guess is that these files may have something to do with the issue I'm having. At this point, I realize this may be a Fatcow issue, and if I need to just redirect this back to them, please say so. I feel like you've already put a lot of time into this and it may not be a WP issue. On the other hand, if the solution is obvious to you, please let me know. I am comfortable with modifying, moving, creating files, etc., so I can do whatever's necessary. Thanks again for your help.


  22. There are also a couple of .htaccess files:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    # END WordPress


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

  23. Heard back from Fatcow again. This was in response to my earlier question about why it happened. Here's their response:

    There was a misconfiguration for Site & Home URL of your WordPress site, which defined in the 'wp-config.php' file. However, we've fixed the issue by disabling the line in your config file, since both Site & Home URL have already been updated under 'wp_options' table of your WordPress database 'wrd_jlnd27m4h4'.

  24. Hi!

    Ok, let's try to get this set up right once and for all :)

    A few things first (before doing anything though, might I suggest taking a full backup of your site files and db? Ask Fatcow if you're not sure how):

    1) This folder and the files in it should be safe to delete:
    2) you should be able to safely delete this file as well (or, if there's more than the WordPRess sections in this file, just delete the WordPress section):
    3) we should make WordPress regenerate the htaccess file (found in the /blog/ installation directory) by going to Settings->Permalinks, and then click "Save Changes"
    4) make sure one last time that SiteURL is set to and that HomeURL is set to

    Since you don't actually have any content at the /blog/ directory (only the installation files), it's normal to get a server-generated 404 error there, I was mistaken to think that we'd be redirected.

    Once you've done these steps, and your site works as expected, then welll finally get to fixing your starts and subscribers!

    What a saga this has been! :)

  25. Okay Richard, I've done everything you said. By the way, I have BlogVault, so no worries. The only thing that bothers me (a little), and this is mostly vanity, but all my Pin counts are off. One of my posts had over 12K pins, and now it's back down to just a few dozen. I guess it's a little thing, really. Just an annoyance more than anything. That said, I DO appreciate all your help. I know you've put more time in on this than one should expect, and it is very very much appreciated. So I think we're good to go as far as combining the stats. Let me know if you need me to do anything else toward that end. Thanks again!


  26. Hi!

    Ok, so your site appears to be working alright for me, so I have gone ahead and merged your stats:!/my-stats/?blog=41033405

    We have lost 3 days though, unfortunately.

    I have also migrated your subscribers from your old blog_id to the new one.

    As for your pins count, I have no idea about that, sorry. :(

    If anything seems out of place, let me know and we'll check it out some more! :)

  27. Richard, you're the best. Thanks a bunch. I'll definitely let you know if I come across anything wacky. You really are a Happiness Engineer. :) Have a wonderful weekend.


  28. My pleasure! By the way, I just saw your latest post (Google Reader Next button) and I just learned something! So now it's my turn to thank you. :)

  29. Awww...I'm tickled to hear that! It's not often I get to show a techie something they don't already know. :)

  30. Hey, guess what? I figured something out and thought I'd pass it on for future reference. I noticed today when I went to comment on someone's post, that CommentLuv wasn't able to find any posts on my site, when it had been previously. So then I got to thinking about the 'www' thing and whether it should have been included in the mods we made to wp-config (I had asked about it above). I went back and changed it to include the www, and now not only are my posts showing up in CommentLuv again, but my Pin counts are back. Yay! Thought you might appreciate knowing, in case something like that comes up again. Thanks again for all your help. So glad to have all my stats back in one place again. Have a great weekend.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.