Troubleshooting WordPress Mobile App Connection Issues: A Step-by-Step Guide
Content
Experiencing trouble connecting your self-hosted WordPress site to the official mobile app? You're not alone. A common error message users see is that their site "is not a WordPress site" or that the connection fails. This guide will walk you through the most common causes and their solutions.
Why This Happens: The XML-RPC Connection
The WordPress Mobile App uses a system called XML-RPC to communicate with your website. This is a standard feature of WordPress, but it is often a target for security plugins or hosting providers who may block it. When the app cannot access the xmlrpc.php file in your site's root directory, the connection will fail.
Step 1: Check if XML-RPC is Accessible
The first step is to see if the file is being blocked. Open a web browser and go to your website's URL followed by /xmlrpc.php. For example: https://yourwebsite.com/xmlrpc.php.
- If you see a message that says "XML-RPC server accepts POST requests only," the file is accessible. The problem lies elsewhere.
- If you see a 403 Forbidden error, a 404 error, or a blank page, the file is being blocked.
Step 2: Identify What is Blocking XML-RPC
If the file is blocked, you need to find the source of the blockage. Check these common culprits in order:
A. Security Plugins
Many popular security plugins have options to disable XML-RPC. Check the settings of any security plugins you have installed (e.g., Wordfence, iThemes Security). Look for an option like "Disable XML-RPC" or "Block XML-RPC" and disable it.
B. Your Web Host
Some hosting providers block XML-RPC by default as a security measure. Contact your host's support and ask them directly if they are blocking access to xmlrpc.php. If they are, request that they unblock it for your site.
C. .htaccess File Rules
Your site's .htaccess file may contain custom rules that block access. If you are comfortable editing this file (always back it up first), look for lines that reference xmlrpc and remove them.
D. Firewalls (like Cloudflare)
If you use a service like Cloudflare, its security settings might be too strict. Try temporarily lowering the security level to see if that resolves the issue. Also, check your Cloudflare rules for any that might be blocking the path.
Step 3: Check for Other Potential Issues
If XML-RPC is accessible, the problem could be one of the following:
- Outdated WordPress Version: Ensure your WordPress installation is updated. A corrupted core file can cause issues. Try going to Dashboard -> Updates and clicking "Re-install" to refresh your WordPress files.
- Missing PHP XML Extension: The XML-RPC protocol requires a specific PHP extension to function. Contact your hosting provider and confirm that the
PHP XML extensionis installed and active on your server. - SSL Certificate Problems: Errors mentioning "cURL error 60" or "SSL certificate" indicate a problem with your site's security certificate. Your host needs to properly install a valid SSL certificate and ensure the full certificate chain is presented.
What If I Use WordPress.com?
It's important to know the difference between the open-source WordPress software (WordPress.org) and the hosted service WordPress.com. The troubleshooting steps above are for self-hosted sites. If your site address ends in wordpress.com, you will need to seek help from the WordPress.com support team, as their system is different.
By methodically working through these steps, you can identify and resolve the issue preventing your WordPress site from connecting to the mobile app.
Related Support Threads Support
-
I can not enter into my mobile app for using my website to edit the posts.https://wordpress.org/support/topic/i-can-not-enter-into-my-mobile-app-for-using-my-website-to-edit-the-posts/
-
m.facebook.com refused to connect mobile wordpresshttps://wordpress.org/support/topic/m-facebook-com-refused-to-connect-mobile-wordpress/
-
Not getting SMS text code for verificationhttps://wordpress.org/support/topic/not-getting-sms-text-code-for-verification/
-
Forgot to close account and it renewed automaticallyhttps://wordpress.org/support/topic/forgot-to-close-account-and-it-renewed-automatically/
-
i cannot connect my site to the mobile apphttps://wordpress.org/support/topic/i-cannot-connect-my-site-to-the-mobile-app/
-
No veo los datos en mi celular con el tema astrahttps://wordpress.org/support/topic/no-veo-los-datos-en-mi-celular-con-el-tema-astra/
-
This site can’t provide a secure connectionhttps://wordpress.org/support/topic/this-site-cant-provide-a-secure-connection-5/
-
Transfer to new hosthttps://wordpress.org/support/topic/transfer-to-new-host-2/
-
How can i put site map of my sitehttps://wordpress.org/support/topic/how-can-i-put-site-map-of-my-site/
-
can not login to mobile app on iphonehttps://wordpress.org/support/topic/can-not-login-to-mobile-app-on-iphone/
-
The request to generate application password is not authorizedhttps://wordpress.org/support/topic/the-request-to-generate-application-password-is-not-authorized/
-
Certification issuehttps://wordpress.org/support/topic/certification-issue/
-
Login – First stepshttps://wordpress.org/support/topic/login-first-steps/
-
Can I get back an old domain name?https://wordpress.org/support/topic/can-i-get-back-an-old-domain-name/
-
I amnnot receiving Text Code to my number.https://wordpress.org/support/topic/i-amnnot-receiving-text-code-to-my-number/
-
cURL error 60: SSL certificate problem: self signed certificatehttps://wordpress.org/support/topic/curl-error-60-ssl-certificate-problem-self-signed-certificate-5/
-
I need assistance with a WordPress account I can no longer accesshttps://wordpress.org/support/topic/i-need-assistance-with-a-wordpress-account-i-can-no-longer-access/
-
Lost my two-step authenticationhttps://wordpress.org/support/topic/lost-my-two-step-authentication/
-
Phone number popup on mobile devicehttps://wordpress.org/support/topic/phone-number-popup-on-mobile-device/
-
Cannot login with mobile apphttps://wordpress.org/support/topic/cannot-login-with-mobile-app/