WordPress glossary

XML-RPC

An older way for apps and services to talk to your site remotely.

XML-RPC is a way for other programs to communicate with a WordPress site remotely, by sending requests to a file called xmlrpc.php in the root of the site. Before WordPress had a REST API, it was how desktop blogging apps, the WordPress mobile apps and services like Jetpack published posts and managed sites from the outside. It’s also what WordPress uses to send and receive pingbacks.

Today, most of what XML-RPC used to do is handled by the REST API, but XML-RPC is still included in every WordPress site for backwards compatibility. New apps and plugins use the REST API instead.

Where it mostly comes up is in security advice. Since XML-RPC lets a single request try many username and password combinations, it’s a popular target for brute force attacks. It can also be flooded with requests to slow a site down, and pingbacks can be abused to make your site take part in denial of service attacks on other sites.

If you don’t use an app or service that relies on it, many security plugins and web hosts let you turn it off, and you probably should.

Published November 24, 2026

Related terms