I’ve been using the stock “Post to Wordpress” action for months and it’s worked fine. Today I’m getting:
HTTP Error: 405, method not allowed
WordPress posting failed
From the Mac and iOS.
I’ve got a self-hosted WP site on WP 5.8
Any ideas?
I’ve been using the stock “Post to Wordpress” action for months and it’s worked fine. Today I’m getting:
HTTP Error: 405, method not allowed
WordPress posting failed
From the Mac and iOS.
I’ve got a self-hosted WP site on WP 5.8
Any ideas?
Most likely the WordPress XML-RPC interface (“Remote Publishing”) is disabled for your blog. Check your WordPress settings to make sure it is enabled.
If it is, and it’s still giving a 405, it’s likely your host blocks XML-RPC for security reasons. Many, especially shared, hosts do this, but will enable it for you if you request it specifically via support.
XML-RPC is turned on by default since WP 3.5
I reached out to WP Engine, they say it’s turned on with no rules that should prevent it.
It fails with any file, not just one.
The host looked through the logs and it can see Drafts trying to post. The WP install matches the checksum of the source code. ¯_(ツ)_/¯
We also tried with plug-ins disabled. No dice.
Something must have changed server-side, as nothing has changed in Drafts.
It’s not specific to a certain draft, is it? Possible encoding disagreement with a special character or such is possible, but that would be specific to a certain text. That’s the only other thing I can think of.
The draft remembers my credentials when it runs the first time. Is there a way to reset or edit those credentials?
I think you want this page in the docs.
Thank you! I appreciate the pointer.
Unfortunately, it didn’t fix the problem. Back to working with the hosting company.
Do you have many plugins installed on the WP installation? There are some that disable XML-RPC.
You might take a look at this WordPress XML-RPC validator to see if you can help troubleshoot what might be up with your installation.