WordPress in a Subdirectory and XML-RPC

Quick Tip! If you’re experiencing problems with the WordPress mobile application because your WordPress installation is in a subdirectory (for example wordpress) you should copy the xmlrpc.php file to your website root so it’s accessible via example.org/xmlrpc.php and edit the boostrap path in that file to point to your subdirectory:

/** Include the bootstrap for setting up WordPress environment */

Change the include path to your subdirectory, in our case it’s wordpress:


That should do the trick, although I’m still not sure why it doesn’t work out of the box, since the path to the XML-RPC discovery in the head section of the homepage is correct. Anyways, this might be a temporary solution to internal server errors (500) and not found errors (404). Enjoy :)