I added few months ago on my htaccess this line :
RewriteRule ^xmlrpc.php$ “http\:\/\/0.0.0.0\/” [R=301,L]
Do you think this is the problem ?
That could certainly prevent Jetpack from accessing the site’s XML-RPC file, which would prevent Jetpack from connecting to the site. Jetpack needs to be connected in order for it to function. You can learn more about that here: https://jetpack.com/support/jetpack-and-xml-rpc/
I’d recommend adjusting your .htaccess file to ensure Jetpack can access your site’s XML-RPC file. If you want to restrict other XML-RPC access, you should be able to allowlist the Jetpack IP addresses so that Jetpack can still access the XML-RPC file. You can find those IP addresses here: https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/
Once Jetpack can access your site’s XML-RPC file, it should be able to connect. After that, Jetpack features should work normally.
If you need more help with that, please post your site URL here so that we can have a look.
If you want it to remain private, you can also contact us via this contact form. If you choose to reach out directly, please include a link to this thread.