It looks like you may have a staging site with a different URL, and the stats are associated with that site instead.
This can happen if Jetpack detects two identical sites on two different URLs, as it doesn’t know which of those sites the stats belong to.
I’ve merged the stats from the staging site to https://styleafrique.com/ for you.
To avoid this in the future, I’d recommend making sure Jetpack is in staging mode on any staging sites you are using. You can find instructions for that here: https://jetpack.com/support/staging-sites/
—
While looking into this for you, I noticed Jetpack is not connected to the https://styleafrique.com/ site. Jetpack will need to be connected in order for stats to work.
Jetpack cannot access your site’s XML-RPC file, which is causing the problem.
This file is used by Jetpack and other plugins and apps to connect to your site. It must return the following message:
XML-RPC server accepts POST requests only.
You can see a working example here: https://wp.cloud/xmlrpc.php
Since your site returns a 404 not found error for the XML-RPC file, I’d recommend checking the following:
- Can you see the xmlrpc.php file on your web host server? It should be in the same location as other WordPress files like wp-config.php. If you don’t see the xmlrpc.php file there, please try re-installing WordPress by going to the Dashboard -> Upgrades page and clicking the “Reinstall” button, or contact your web host.
- Do you use any security plugins that may block access to this file? If so, could you try deactivating them? You might also want to check your site’s .htaccess file for any rules that might be blocking access to the xmlrpc.php file.
- Does your web host block access to this file? If you don’t find a plugin that may block access to the file, I would recommend contacting your host. If your host only offers XML-RPC access by allowlisting IP addresses, then they will need to allowlist the Jetpack IP addresses listed here: https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/
Once Jetpack is able to access your site’s XML-RPC file, it should be able to connect to the site, and stats should work correctly.
If you want to learn more details about XML-RPC and how it interacts with Jetpack, you can check out our detailed guide here: https://jetpack.com/support/jetpack-and-xml-rpc
Plugin Support
Jay
(@bluejay77)
Hi there,
It has been a while since we have heard from you, so I’m marking this topic as resolved.
But if you have any further questions or need some more help, you’re welcome to reply here or open another thread.