Problems connecting your WordPress site to Jetpack.

XML-RPC server accepts POST requests only

Categories: Development, WordPress

After setting up a fresh install of WordPress on my new Digital Ocean box with PHP 7.0 I had a few issues reconnecting my Jetpack accounts.

I got the error XML-RPC server accepts POST requests only and after doing some research found out it’s caused by a missing PHP extension for XML that handles Dom activities.

On Ubuntu run the following:

sudo apt-get install php-xml

After installing and restarting my server the problem was resolved. One thing the Jetpack documentation didn’t mention as a possible cause for this error was the fact that the extension was or could be missing.

Problem solved!


Adam Patterson

Adam Patterson

User Interface Designer & Developer with a background in UX. I have spent 5 years as a professionally certified bicycle mechanic and ride year-round.

I am a husband and father of two, I enjoy photography, music, movies, coffee, and good food.

You can find me on Twitter, Instagram, and YouTube!