Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    That might be true – I have not tested it. Try it and let me know.

    However, I’ve released a new development version of the plugin on GitHub that you could try if you find the current version of Force Login (v3.3) is causing problems.
    https://github.com/kevinvess/wp-force-login

    Thread Starter fractals

    (@fractals)

    I will – suddenly stopped working after I installed force login – and that is only change – still wrestling with getting force to work properly – once done will revisit this – thakyou

    Plugin Author Kevin Vess

    (@kevinvess)

    I came across this post today:
    https://ww.wp.xz.cn/support/topic/use-jetpack-via-renamed-xmlrpcphp?replies=3#post-7792423

    And that had me thinking, you might need to whitelist your xmlrpc.php file to get Jetpack to work with Force Login. Try adding the following code to your theme’s functions.php:

    /**
     * Filter Force Login to allow exceptions for specific URLs.
     *
     * @return array An array of URLs. Must be absolute.
     **/
    function my_forcelogin_whitelist( $whitelist ) {
      $whitelist[] = site_url( '/xmlrpc.php' );
      return $whitelist;
    }
    add_filter('v_forcelogin_whitelist', 'my_forcelogin_whitelist', 10, 1);
    Thread Starter fractals

    (@fractals)

    Thank you Kevin – curiously I had found that and tried it – but it made no difference.

    When I try to connect Jet Pack I get

    Your Jetpack has a glitch. We’re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: xml_rpc-32700
    Try connecting again.
    Error Details: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure http://isla-mae.philpin.com/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.

    I did as it asks – and I do indeed get the correct response … it isn’t a big issue – so I just parked it.

    Massive kudos to you for keeping me in mind. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Using Jetpack’ is closed to new replies.