WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. navcar
    Member
    Posted 1 year ago #

    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/

  2. navcar
    Member
    Posted 1 year 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

About this Topic