Android Phone and World Map

4-minute read

Connecting the WordPress Mobile App to a ClassicPress Site

The Andoid and iOS mobile apps for WordPress also work with ClassicPress. If you have trouble connecting the app to your ClassicPress site, this is your guide to success!

Wouldn’t it be great if there was a ClassicPress app that would allow you to manage your site with your mobile device? Well, the good news is: there is. Sort of. WordPress has Android and iOS mobile apps that allow you to manage your website and, in case you didn’t know, you can also use these apps to manage your ClassicPress website. Once you have the app installed, it works pretty well, however, there is a “gotcha” that may get in your way – XML-RPC.

XML-RPC is a Requirement

Are you getting a `403 error` while trying to login through the app? If so, it is likely that XML-RPC is disabled. Unfortunately, the app can’t work without access to your XML-RPC file and functionality, so, if you need to have XML-RPC disabled, you won’t be able to use the apps. If that’s the case, I’ll save you some time: you can close this article now since there’s no workaround.

But I didn’t disable XML-RPC…what the heck?

Even if you didn’t personally disable XML-RPC, there are other ways it may have become disabled. Perhaps it’s your security plugin; maybe there’s a snippet in your functions.php file; possibly a random snip in your site’s utility plugin. To resolve the problem, run through the following steps. After each step, retry the app login.

Reenabing XML-RPC

There are a number of ways to disable XML-RPC. This can cause hard-to-diagnose problems. The following steps will help you to resolve the issue. Run through the steps, testing the app login after each.

Step 1: Check your security plugin settings.

Look for settings related to XML-RPC. Security plugins usually offer this option. In this case, simply reenabling XML-RPC should do the trick.

Step 2: Check your theme’s functions.php file.

There are a couple of snips that are often found in your theme’s functions.php file which can disable XML-RPC. Check for the following lines. If you find either of these lines, put a couple of slashes `//` at the front of the line(s) to disable.

add_filter('xmlrpc_enabled', '__return_false');
add_filter('xmlrpc_enabled', 'some_function_name');

Step 3: Check your site’s utility plugin.

If you have a custom utility plugin running on your site, this is another place to check if your XML-RPC functionality has been disabled. Again, look for the following lines. If you find it either of them, put a couple of slashes `//` at the front of the line(s) to disable.

add_filter('xmlrpc_enabled', '__return_false');
add_filter('xmlrpc_enabled', 'some_function_name');

Step 4: Check your .htaccess file.

The .htacccess file, located in the root of your website, often contains extra directives to add more layers of security to your site. Look for an entry similar to the following. If you find it, add a hashmark `#` to the beginning of each line to disable it.

<Files xmlrpc.php>
order deny,allow
deny from all

About Custom Post Types

Notably, the app does not display custom post types. This issue was reported in 2013 and it’s still outstanding, so, I suspect it won’t be fixed. If you can deal with that slight issue, perhaps the app will still be a good solution. If you were hoping to view and manage your custom post type posts within the app, please accept my sincere apology for being the bearer of the bad news.

About Jetpack

Jetpack is not a requirement. There are a couple of screens that require Jetpack, but, the app will run just fine without it. If you don’t use Jetpack, those related views will simply prompt you to sign in and will not be any more bother than that.

Wrapping Up

The WordPress mobile app for Android and iOS can be a very handy tool for lightly managing your ClassicPress website. While it doesn’t have support for custom post types, and a couple of screens are only for Jetpack users, it is still quite useful for creating and managing general posts and pages. If you have trouble connecting the app to your site, it’s probably something really simple – XML-RPC.

What do you think?

Did you know that the WordPress mobile apps would work with ClassicPress? What about lack of support for custom post types – is that a dealbreaker? How do you feel about an issue being reported 7 years ago without being addressed? I’d love to hear your thoughts – let me know in the comments!