Trusted Only
[resolved] Don't redirect xmlrpc.php to login page? (2 posts)

  1. navcar
    Posted 3 years ago #


    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!

    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.


  2. navcar
    Posted 3 years ago #

    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'));

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Trusted Only
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic