• Resolved qwamenah

    (@qwamenah)


    Hello,

    My WordPress site is currently experiencing issues with regard to the xml-rpc. When debugging, the following is what I receive…

    Debug
    XML-RPC is not responding correctly ( 200 )
    It looks like XML-RPC is not responding correctly. Please make sure XML-RPC is turned on for your site and is set up to respond to all content types. You can test this yourself by running the following command from the command line:
    
    curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello</methodName></methodCall>' https://stateofdabar.com/xmlrpc.php
    The answer should be:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <methodResponse>
      <params>
        <param>
          <value>
          <string>Hello!</string>
          </value>
        </param>
      </params>
    </methodResponse>

    I’ve contacted my web host about this, and I was told to disable all plugins to locate which one caused the problem. I did so, but no change. A little assistance will be greatly appreciated.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hi there

    While your site is publicly accessible, we cannot access your site’s XML-RPC file:
    https://stateofdabar.com/xmlrpc.php

    This file is used by Jetpack and other plugins and apps to connect to your site. It must return the following message:

    XML-RPC?server accepts POST requests only.

    You can see a working example here:

    https://jetpack.com/xmlrpc.php

    Since your site returns a blank page for this file, I would recommend that you check the following:

    1) Can you see the /xmlrpc.php file at the root of your WordPress installation when accessing your site via FTP? If you don’t, then please try re-installing WordPress. You can do this by going to the Dashboard -> Upgrades page, then click the “Reinstall WordPress” button.

    2) Do you use any security plugins that may block access to this file? If so, could you try to disable them? You might also want to check your site’s .htaccess file for any rules that might be blocking access to the?xmlrpc.php file.

    3) Does your hosting provider block access to this file? If you don’t find any plugin that may block access to the file on your site, I would recommend that you get in touch with your host.

    Once we are able to access your site’s?xmlrpc.php file, you should be able to connect Jetpack to?https://wordpress.com.

    Let me know how it goes!

    Thread Starter qwamenah

    (@qwamenah)

    Hello!

    So I tried 1 and 2, but still no improvement. Could I get some help on knowing how to work on the .htaccess file in order to change any possible rules blocking xmlrpc?

    I’m going to get in touch with the host and know what’s going on.

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hi @qwamenah,

    Could I get some help on knowing how to work on the .htaccess file in order to change any possible rules blocking xmlrpc?

    Per our Scope of Support, that isn’t something we can assist you with, but your host should have a solid idea of what might be happening from their end that would block access to XML-RPC.

    A side note: sometimes a blank XML-RPC file can happen due to a poorly-coded theme or plugin. I’d also recommend you temporarily switch to one of the default WordPress themes (such as Twenty Twenty), and reload your XML-RPC file to see if it shows the appropriate “XML-RPC server accepts POST requests only” response.

    If that doesn’t reveal anything, you can then temporarily deactivate all of your plugins (leaving Jetpack active), and see if the proper response is displayed. If it is, activate each plugin one-by-one and see which one makes it go blank again.

    Let us know what you find.

    Thanks!

    • This reply was modified 4 years ago by Jen H. (a11n). Reason: typos :)
    Thread Starter qwamenah

    (@qwamenah)

    Thanks a lot. Looks like it was the theme that was causing the problem. I’ve successfully reconnected back to Jetpack. The only issue is that clicking the post links lead to a totally different site. I’ll try and fix that one…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘XML-RPC’ is closed to new replies.