Fix for Jetpack xml-rpc

Home Forums Support Forum Fix for Jetpack xml-rpc

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Anti-Malware Admin 6 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1983

    After I set GOTMLS to block XML-RPC, Jetpack lost connection between my site and WordPress. I found the answer on somebody’s blog (I wish I could remember whose!)
    You need to put this in your .htaccess file:

    <Files xmlrpc.php>
    Order Deny,Allow
    Deny from all
    Allow from
    Allow from
    Satisfy All

    After this, you can let the plugin block XML-RPC requests, WordPress will still be able to do its thing.

    Check your Jetpack connection here:

    • This topic was modified 6 years, 2 months ago by  Cherry Austin.

    Anti-Malware Admin
    Key Master

    Thanks for posting this helpful code. As a shortcut you could just apply the patch, which would insert the whole Files tag, then you would just need to add the Allow lines for any domains and IPs you want to allow.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.