Support » Fixing WordPress » xml-rpc telling me I don't have permission to post

  • Ever since wp changed to https my xmlrpc posting is broken.

    So I am trying to use xmlrpc within wordpress and kept getting malformed xmlrpc message. After a few tries, I guess the automatic xmlrpc.php protection kicked in and now I’m getting a message ‘Sorry, you are not allowed to post on this site.’

    The site I’m posting FROM is a self-hosted wp site
    The site I’m posting TO is

    Question #1: How do I regain my ability to post to the xmlrpc.php?

    Question #2: What the heck is wrong with the code below that it thinks my request is incorrect?

    $client = new WP_HTTP_IXR_CLIENT(" );
    	$bSuccess = $client->query( 'wp.newPost',
    				'post_status'  => 'draft',
    				'post_type'  =>'post',
    				'post_title'   => "Karen test",
    				'post_content' => "test post"
                print "Error msg from XMLRPC =". $client->error->message."<br />";
  • The topic ‘xml-rpc telling me I don't have permission to post’ is closed to new replies.