Solve Jetpack site inaccessible error [XML-RPC.php and HTTP 403]

Solve Jetpack site inaccessible error [XML-RPC.php and HTTP 403]
Written by Gearloose

Recently i was receiving a site_inaccessible 403 Forbidden Error for XMLRPC.php file everytime i tried to connecting my blog to the I tried many solutions i found in many forums and blogs, but with no success. If you have the same problem, here is a simple and safe solution.

XML-RPC is a remote procedure call protocol, so that you can do all kind of stuff like create or edit a post remotely. This method is used also by Jetpack to provide you their services. Without this, Jetpack can't communicate with your site and their servers.

But there is a problem with all this, security. There are a number of ways an attacker can take advantage of the XML-RPC interface, including, but not limited to DDOS attacks, and bruteforce attacks. And for this reason, many webhosts kept disabled the access to XML-RPC.php file. But if you want to enable Jetpack into your blog, then you have to allow access only from Jetpack.


In order to do this, you have to edit your ".htaccess" file. I tried many varations of the code below, but sometimes my admin panel was become very slow or inaccessible, so this is a working solution. In the beggining of the file, add the below code:

<Files xmlrpc.php>
Order Deny,Allow
Deny from all
Allow from
Satisfy All

So now, we deny everyone from accessing the file "xmlrpc.php" except from the IP subnet, which is the IP address of "AUTOMATTIC". By doing this, you will solve any communication errors you may have. However, if you find some problems with Publicize service, or you will keep receiving the error message, ever if you already connected to Jetpack, you should add some other IPs to htaccess. Read this post here.

![Problem solved.](

About the author



Καλώς ήρθατε στο blog μου. Το όνομα μου είναι Άκης Μπαρέκας. Είμαι freelance web developer και ασχολούμαι χρόνια (και παράλληλα παρέχω υπηρεσίες σχετικά) με το SEO, το Website Migration (την μεταφορά του περιεχομένου ενός site, πχ μεταφορά από blogger σε WordPress), το optimization ενός site και το web scraping (την εξαγωγή δηλαδή περιεχομένου από ένα ή περισσότερα sites.

Παράλληλα κάνω και τα πρώτα μου βήματα σαν game developer (στο unity κυρίως) και animator (blender). Επίσης φτιάχνω διάφορα, είτε για δουλειά, είτε για χόμπι. Όταν έχω χρόνο, ανεβάζω videos στο YouTube, γράφω tutorials, μοιράζομαι τεχνολογικά νέα στο Facebook και στο blog ή γράφω άρθρα που αφορούν το χρήμα και την οικονομία.

Leave a Comment