I’ve noticed on some website hosts including my own old one that there are issues enabling the WordPress Jetpack plugin. Some hosts basically block access to the WordPress xmlrpc.php file in the root of all WordPress sites for security and performance reasons. The same file is a target for hackers so I guess you can’t blame hosts too much. However, Jetpack is a pretty cool plugin from WordPress themselves that allows all kinds of functionality on your website including Image CDN, Email Subscriptions, Security, Share icons and my personal favorite, Auto-posting to Facebook, Twitter, Linkedin etc.. so I’d really prefer if it wasn’t blocked!
The WordPress Android and iOS apps both use the xmlrpc.php files to work too so that in addition to all the great functionality the Jetpack plugin offers makes it worth the risk for me to allow access to it.
When you add the plugin and activate it, you will be asked to connect to your WordPress.com account but while doing this you may see the error “Your website needs to be publicly accessible to use Jetpack: site_inaccessible” or “Jetpack not activated: site inaccessible”. After talking with my host they reluctantly suggested I add the following code to my site’s .htaccess file:
Allow from all
Adding this to a few of my client’s sites worked perfectly.
You can make this a little more secure by changing the “Allow from all” line above to allow from a specific IP address but the server IP Jetpack tries to connect to seems to change frequently and just adding WordPress.com wont work either.