Trying to connect Jetpack and running into “XML-RPC server accepts POST requests only” somewhere in the process? Here’s the twist: that message is actually what a healthy xmlrpc.php should show—but only as a single line, with nothing else around it. If it’s missing, wrapped in HTML, padded with blank lines, or blocked by a firewall, Jetpack will struggle to connect. Let’s go through the exact checks that get Jetpack talking to your site again.
When I try to connect Jetpack, I keep running into “XML-RPC server accepts POST requests only” somewhere in the process. What does this mean, and how do I fix it so Jetpack connects?
If you’re wondering what’s broken: Jetpack cannot use your site’s xmlrpc.php endpoint the way it needs to. Either XML-RPC is blocked, missing, or sending the wrong kind of output.
WordPress has a built-in file called xmlrpc.php. It lets external services like Jetpack and the WordPress mobile app talk to your site using special POST requests.
On a healthy site, if you visit:
https://your-site.com/xmlrpc.php
you should see a blank page with exactly this one line:
XML-RPC server accepts POST requests only.
That single sentence is WordPress saying: “XML-RPC is here and ready, but you must send POST requests, not just open it in a browser.”
If you see anything else on that page, Jetpack will have trouble connecting. For example:
https://your-site.com/xmlrpc.php (replace with your real domain).You can compare your result to this working example: https://wp.cloud/xmlrpc.php.
Now match your result:
XML-RPC server accepts POST requests only.In this case, XML-RPC exists, but something is sending extra output before WordPress can send its simple one-line response. That “something” is usually a plugin, a theme, or whitespace in wp-config.php.
Typical signs:
/xmlrpc.php.If you now see only the single line XML-RPC server accepts POST requests only. on a blank page, one of the deactivated plugins was adding output.
/xmlrpc.php.For that plugin:
/xmlrpc.php in a private window.If the output becomes clean with the default theme, your original theme is printing content too early, often in functions.php. Send the theme author a screenshot of your /xmlrpc.php output and explain that Jetpack needs a plain, one-line response.
Even a single blank line in wp-config.php can cause this.
wp-config.php.<?php.?> tag at the very end of the file./xmlrpc.php.If you still see strange output and you suspect the core file itself was edited:
xmlrpc.php file.Reload /xmlrpc.php. If you now see only the single sentence, XML-RPC output is fixed and you can try connecting Jetpack again.
If visiting /xmlrpc.php gives you a 403 or 404, or shows a security banner, Jetpack cannot even reach XML-RPC.
Common causes include:
xmlrpc.php or Jetpack IP ranges.xmlrpc.php file being deleted from your site root./xmlrpc.php and check the output again.If plugins are not blocking it, your hosting provider might be.
/xmlrpc.php. Right now that URL returns a 403 or 404 (or a security page). Can you allow access to xmlrpc.php and Jetpack’s IPs so Jetpack can connect?”xmlrpc.php file exists in your site root.If your host confirms that xmlrpc.php is missing and requests to it return a 404:
xmlrpc.php file.When /xmlrpc.php shows the single-line message, you can move on to Jetpack checks.
At this point /xmlrpc.php shows exactly one line, with no extra output:
XML-RPC server accepts POST requests only.
That means XML-RPC itself is healthy. If Jetpack still fails, the issue is probably SSL, DNS, timeouts or another connection detail.
Then:
/xmlrpc.php.You are in good shape when:
https://your-site.com/xmlrpc.php shows exactly one line: XML-RPC server accepts POST requests only.Hit Continue Chat and send me:
/xmlrpc.php shows in a private window.I can then walk you through the next specific steps for your setup.
Scroll down to the contact form below. Enter your name, email, and WordPress needs. Atiba will get back to you as soon as possible.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!