Error Discovering XML-RPC Endpoint

Hallelujah 🙏

Found a solution to my problems with Micro.blog and Sunlit apps not discovering my XML-RPC endpoint.

All connections to the xmlrpc.php file were being blocked. I read a few posts when trying to find a solution that the xmlrpc.php file is a big target for brute force attacks on websites. So maybe my host had pushed out an update to block access to any xmlrpc.php files.

To fix this problem, I added the following code to my .htacces file and now everything connects without problem.

<FilesMatch "xmlrpc\.php$">
Allow from all
</FilesMatch>

It would be nice if I could ‘Allow from’ Micro.blog and Sunlit instead of ‘All’ but this is something I can tweak at a future date.

Right now I’m just happy everything is working again correctly.


Not sure what caused it but Micro.blog and Sunlit both complained that XML-RPC couldn’t be found yesterday. Re-installed a fresh copy of WordPress and it still wouldn’t work. Now everything seems fine without me changing a thing 🤷‍♂️


Still having problems. Signed out of Sunlit on my iPhone just test I could sign back in and I’m getting the same XML-RPC error. Micro.blog for iOS is still working, so I’m not signing out until I can figure out the problem.


Archives

  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • Categories

    Tags


    Copyright © 2017—2018