WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Don't redirect xmlrpc.php to login page?

[Resolved] Don't redirect xmlrpc.php to login page?

  • Hello!

    Any chance you could implement an exception to not block ‘xmlrpc.php’? This would be helpful because right now, Jetpack can’t get the WordPress’ servers to connect with the site. Thanks!

    Symptoms:
    http://<URL>/xmlrpc.php redirects to the login page.

    The error message from Jetpack:
    Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure http://<URL>/xmlrpc.php is working properly. It should show ‘XML‑RPC server accepts POST requests only.’ on a line by itself when viewed in a browser and should not have any blank links or extra output anywhere.

    http://wordpress.org/extend/plugins/trusted-only/

Viewing 1 replies (of 1 total)
  • Hello again!
    OK I’ve found a workaround, modify the trusted-only.php file of the plugin, as follows:

    $exclude= array(wp_login_url(), admin_url(‘/’), site_url(‘/wp-signup.php’), site_url(‘/xmlrpc.php’));

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Don't redirect xmlrpc.php to login page?’ is closed to new replies.