WordPress Jetpack

Fix for WordPress Jetpack Not Activated: Site Inaccessible

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:

<files xmlrpc.php>
Order allow,deny
Allow from all
</files>

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.

 

Advertisements

Published by

Leon Quinn

Multimedia Design company in Leitrim, Ireland specializing in WordPress Website Design, Photoshop and Graphics. www.reverbstudios.ie

2 thoughts on “Fix for WordPress Jetpack Not Activated: Site Inaccessible”

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s