Support » WordPress Mobile App » Unable to Login into the iPhone Mobile App

  • Hi Team,

    I am trying to login into my WordPress blog dashboard using the WordPress iPhone App. However, when I enter the address of the WordPress site to connect with, I get the following error:

    “Couldn’t connect to the WordPress site. There is no valid WordPress site at this address. Check the site address (URL) you entered.”

    I have been trying to decipher the root cause of this problem, but haven’t been able to identify it yet.

    Note: I am using iPhone 14 Pro with iOS v17.2.1 and the WordPress is also updated to v. 6.4.2.

    My hosting is registered with Namecheap and the domain on GoDaddy.

    If it’s because of XML-RPC, I would like to know how can I enable/disable the same option via .htaccess file or through my WordPress dashboard?

    Earlier, I was able to manage it conveniently using the Yoast plugin, but now I am unable to find the option anywhere.

    Requesting the experts for their inputs. Any help would be highly appreciated.

    Thanks,
    Manu Mathur

    • This topic was modified 3 weeks, 6 days ago by Manu Mathur.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • The error you’re experiencing when trying to connect your WordPress site to the WordPress iPhone App can be due to several reasons, but a common one is indeed related to XML-RPC. XML-RPC is a remote procedure call protocol that enables external applications like the WordPress app to communicate with your WordPress site. Here’s how you can troubleshoot and potentially resolve this issue:

    1. Check XML-RPC Functionality:
    • To verify if XML-RPC is functioning on your WordPress site, you can use an online tool like the XML-RPC Validator. Enter your site’s URL and see if it can detect the XML-RPC endpoint (xmlrpc.php).
    • If the validator indicates that XML-RPC is disabled, that might be the root cause of your issue.
    • Enable/Disable XML-RPC through .htaccess:
    • To Enable: If XML-RPC is disabled, you can enable it by editing your .htaccess file. Make sure there are no rules in this file that specifically block xmlrpc.php.
    • To Disable: Conversely, if you want to disable XML-RPC for security reasons (though this would prevent the app from connecting), you can add the following lines to your .htaccess file:
    • <Files xmlrpc.php> order deny,allow deny from all </Files>
    • You can edit the .htaccess file through an FTP client or the file manager in your hosting control panel.
    • Check for Plugin Conflicts:

    • Some security plugins can block XML-RPC. Check if you have any security plugins installed that might be doing this.
    • Although you mentioned that the Yoast plugin previously had an option to manage this, it’s not typically a feature of Yoast SEO. Double-check if there might be another plugin responsible for this setting.

    Contact Hosting Provider:

    • Since your hosting is with Namecheap, it’s worth reaching out to their support team. They can confirm whether they have any server-side restrictions affecting XML-RPC functionality.

    Additional Checks:

    • Ensure your WordPress site’s URL is entered correctly in the app. It’s a common mistake to have typos in the URL.
    • Verify that your website is publicly accessible and not in maintenance mode or blocked via .htaccess for IP-specific access.

    Update App and iOS:

    • Although you mentioned you’re using up-to-date versions, it’s always good to double-check for any pending updates for the WordPress app or your iOS, as this can sometimes resolve compatibility issues.

    Hi Manu Mathur,

    I understand you are having trouble logging in to your WordPress blog dashboard using the WordPress iPhone app.

    Here are troubleshooting steps to address the login issue with the WordPress iPhone app:

    – Double-check the URL: Ensure you enter the correct website address (https://www.example.com) without any typos.

    – Verify your username and password are accurate.

    – Test on a different device: Try logging in from a web browser on your phone or another device to isolate device-specific issues.

    You can install and activate a plugin such as Disable XML-RPC. However, if you prefer to do it via the .htaccess file, you can add the following code to disable XML-RPC:

    # Disable XML-RPC service
    <Files xmlrpc.php>
    Order Deny,Allow
    Deny from all
    </Files>

    I hope these steps help you successfully log in to your WordPress dashboard using the iPhone app

    Regards,
    Aniekan

    Thread Starter Manu Mathur

    (@mann14)

    Hi Folks,
    Thank you for your proactive responses.

    When I ran the XML-validator for my web link, I got the following result:


    So, I updated the .htaccess file from cPanel File Manager and then tried again but that didn’t resolve the issue. I still get the same error as mentioned above.

    To expedite the resolution, I have created a new ticket on Namecheap support forum. Hopefully, they will be able to help me out on this issue on priority.

    Will keep this forum updated on the next steps suggested by them.

    By the time, the Namecheap support team gets back to me, I will try checking this from the mobile browser and on another device.

    Will share how that works out for me…

    Cheers 🙂

    • This reply was modified 3 weeks, 5 days ago by Manu Mathur.
    • This reply was modified 3 weeks, 5 days ago by Manu Mathur.
    • This reply was modified 3 weeks, 5 days ago by Manu Mathur.
    • This reply was modified 3 weeks, 5 days ago by Manu Mathur.
    Thread Starter Manu Mathur

    (@mann14)

    Hi Folks,

    Got in touch with Namecheap customer support team, and by far nothing has worked:

    • Disabling the proxy on “A record” for bare Domain URL
    • Creating a new “.htaccess” file with nothing but the default WordPress code
    • Whitelisting the ‘xmlrpc.php’

    Since nothing worked, the team suggested me to disable the plugins temporarily and then check what could be creating the issue.

    However, when I go ahead and do that, I face a weird problem altogether. Here’s the issue:

    When I disable the “Akismet Anti Spam” plugin, keeping original “.htaccess” file within the “public_html” folder, I instantly lose access to everything – WordPress dashboard, cPanel, and the website in general.

    When I raised this issue with the support team, they said:

    This error is not caused on the server side and rather reasons are on the edge of web development and compatibility of WordPress components.

    If you need an answer to this question, we recommend consulting with a professional in the web development area or searching for the answer on the web.

    So, in your opinion, what could be creating this new issue?

    The support team has asked for some time to address the iOS App issue, but I wanted to share this new plugin issue with you all, in case anyone can help.

    Do share your thoughts on the same.

    Thanks.

    It seems like there is a misbehaving bit of code somewhere on your site.
     
    If you go here
     
    https://whereispillmythoughts.com/xmlrpc.php&nbsp;

    … you’ll see a blank page, which suggests that some plugin, theme, or your wp-config.php file has conflicting code in the file. You are supposed to see a message saying “XML-RPC server accepts POST requests only.” 
     
    This problem is similar to the “Headers already sent” problem. More information on that is here:
     
    https://wordpress.org/documentation/article/faq-troubleshooting/#how-do-i-solve-the-headers-already-sent-warning-problem
     
    Can you check your wp-config.php file, theme files, and plugins for conflicting code?
     
    Once you’ve fixed the code causing the blank page, your XML-RPC should look exactly like this:
     
    https://jetpack.com/xmlrpc.php

    Also, please note that support in this forum is for users who have difficulties with the WordPress mobile app.

    Should you need assistance with the Akismet Anti Spam plugin, please post a question and/or search for answers in the Akismet forum: https://wordpress.org/support/plugin/akismet/.

    Thread Starter Manu Mathur

    (@mann14)

    Hi <span class=”bbp-author-name”>thabotswana (a11n)</span> and others,

    I found the root cause of why WordPress iOS App wasn’t working for me despite XML-RPC being enabled.

    The answer is “Really Simple SSL” plugin.

    After trying almost everything else suggested by the Namecheap customer support team, when I started disabling the plugins one-one and finally disabled “Really Simple SSL” plugin, I was able to access the WordPress app successfully on my iPhone.

    <span class=”bbp-author-name”>thabotswana (a11n)</span> – You do not see the default message saying “XML-RPC server accepts POST requests only” when you open https://whereispillmythoughts.com/xmlrpc.php&nbsp; is because of this plugin only.

    When I disable the plugin and open https://whereispillmythoughts.com/xmlrpc.php&nbsp; I get the default message (attaching image screenshot below).

    This goes for a toss again as soon as I enable the plugin.

    Post log in, the iOS App:

    • Fails to fetch my Published Posts and Pages and all I see on the app is “Fetching posts” for far too long
    • Doesn’t sync my media files and I get “Unable to sync media” message within the application.
    • and almost everything else.

    So, figuring out why are these functionalities not working?

    Even though the app now lets me log in, (after disabling the SSL plugin permanently), I am yet to identify the root cause of these problems (stated above). I will probably connect with the developer team and figure out a solution for this issue.

    In case, you guys know of any workaround for these, let me know.

    Thanks.

    • This reply was modified 2 weeks, 4 days ago by Manu Mathur.

    Can you contact your web host and check to see if they’re blocking or otherwise limiting incoming and outgoing connections over XML-RPC?

    The app uses this file to communicate with your site, but some hosts block connection requests to that file. When I run some tests on your site, it appears you may have some form of rate-limiting that will interfere with how the app works with your site. The app needs unlimited access to this file to be able to upload content to your site from the app.

    Thread Starter Manu Mathur

    (@mann14)

    Sure, @thabotswana

    I will raise a new ticket on Namecheap and contact their support staff by this weekend and get it checked.

    When I run some tests on your site, it appears you may have some form of rate-limiting that will interfere with how the app works with your site.

    Can you help me understand – what kind of tests did you run? An insight into the test and their outputs can help me address this issue in a better way.

    Awaiting your inputs.

    Cheers 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.