{"id":2053,"date":"2020-10-18T02:24:04","date_gmt":"2020-10-17T18:24:04","guid":{"rendered":"https:\/\/www.intelliwolf.com\/?p=2053"},"modified":"2020-10-18T02:24:06","modified_gmt":"2020-10-17T18:24:06","slug":"enable-xml-rpc-wordpress","status":"publish","type":"post","link":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/enable-xml-rpc-wordpress\/","title":{"rendered":"How To Enable XML-RPC On WordPress"},"content":{"rendered":"\n

I needed to use XML-RPC on one of my sites to verify that I owned the site. Normally that's not a problem with WordPress sites, because XML-RPC is enabled by default.<\/p>\n\n\n\n

However, I always turn it off and block access to it through iThemes Security.<\/p>\n\n\n\n

To enable XML-RPC on WordPress, go through your security, speed and caching plugins and re-enable XML-RPC until yourdomain.com\/xmlrpc.php says \"XML-RPC server accepts POST requests only\". Also check your theme for add_filter (\"xmlrpc_enabled\", \"__return_false\") if that doesn't re-enable it.<\/strong><\/p>\n\n\n\n

I re-enabled XML-RPC through iThemes Security by going to Security -> Settings, and clicking \"Configure Settings\" in the WordPress Tweaks<\/em> section.<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

I then changed the XML-RPC<\/em> section to \"Enable XML-RPC\" and changed the Multiple Authentication Attempts per XML-RPC Request<\/em> to \"Allow\".<\/p>\n\n\n\n

\"iThemes<\/figure><\/div>\n\n\n\n

Unfortunately, that wasn't enough and I was still getting the error message that it was disabled.<\/p>\n\n\n\n

I was able to fix it eventually. This is how I did it.<\/p>\n\n\n\n

In all the research I did, they just kept telling me that XML_RPC was enabled by default since WordPress 3.5 and to go to Settings -> Writing -> Remote Publishing and check the checkbox.<\/p>\n\n\n\n

As you can see, I don't have that checkbox, or even the Remote Publishing section:<\/p>\n\n\n\n

\"Default<\/figure><\/div>\n\n\n\n

I kept getting a message from the verification service that XML-RPC was disabled, but that was all there was to the error message.<\/p>\n\n\n\n

I went to mydomain.com\/xmlrpc.php in the browser and saw this:<\/p>\n\n\n\n

\"Text<\/figure><\/div>\n\n\n\n

I deactivated Ninja Firewall, iThemes Security and all the plugins that I thought might have disabled XML-RPC.<\/p>\n\n\n\n

I kept getting this rather unhelpful error message when I went to mydomain.com\/xmlrpc.php:<\/p>\n\n\n\n

\"XML<\/figure><\/div>\n\n\n\n

It basically says \"there's a problem, XML-RPC is disabled\", without giving anything useful. Fault Code 405 is just a generic \"access not allowed\" error message.<\/p>\n\n\n\n

I checked .htaccess<\/em> and wp-config.php<\/em> for possible remnants of the blocking code, but there was nothing related to XML-RPC in there.<\/p>\n\n\n\n

At this point, I was near to giving up and telling myself it just wasn't worth the trouble, but I figured I'd give it another couple of minutes.<\/p>\n\n\n\n

I knew it wasn't an issue with my theme or child theme. If you're not sure, check for this code:<\/p>\n\n\n\n

add_filter ( 'xmlrpc_enabled', '__return_false' );<\/code><\/pre>\n\n\n\n

I started going through the process I walk through in How To Fix WordPress<\/a> where you deactivate the plugins. Rather than deactivate the plugins all at once, I did it one by one, refreshing \/xml-rpc.php<\/em> after each.<\/p>\n\n\n\n

It turns out the culprit was the A2 Optimized WP<\/em> plugin!<\/p>\n\n\n\n

I didn't think a caching \/ speed plugin would impact the remote posting service. If you're having an issue, make sure you check those too.<\/p>\n\n\n\n

Finally, mydomain.com\/xmlrpc.php<\/em> showed \"XML-RPC server accepts POST requests only\" and the verification system worked.<\/p>\n","protected":false},"excerpt":{"rendered":"

I needed to use XML-RPC on one of my sites to verify that I owned the site. Normally that’s not a problem with WordPress sites, because XML-RPC is enabled by default. However, I always turn it off and block access to it through iThemes Security. To enable XML-RPC on WordPress, go through your security, speed<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"yoast_head":"\nHow To Enable XML-RPC On WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Enable XML-RPC On WordPress\" \/>\n<meta property=\"og:description\" content=\"I needed to use XML-RPC on one of my sites to verify that I owned the site. Normally that's not a problem with WordPress sites, because XML-RPC is enabled by default. However, I always turn it off and block access to it through iThemes Security. To enable XML-RPC on WordPress, go through your security, speed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Intelliwolf\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-17T18:24:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-17T18:24:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png\" \/>\n<meta name=\"author\" content=\"Mike Haydon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mike Haydon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\"},\"author\":{\"name\":\"Mike Haydon\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\"},\"headline\":\"How To Enable XML-RPC On WordPress\",\"datePublished\":\"2020-10-17T18:24:04+00:00\",\"dateModified\":\"2020-10-17T18:24:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\"},\"wordCount\":467,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png\",\"articleSection\":[\"Admin Customization\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\",\"url\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\",\"name\":\"How To Enable XML-RPC On WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png\",\"datePublished\":\"2020-10-17T18:24:04+00:00\",\"dateModified\":\"2020-10-17T18:24:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage\",\"url\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05.png\",\"contentUrl\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05.png\",\"width\":808,\"height\":222},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.intelliwolf.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Admin Customization\",\"item\":\"https:\/\/www.intelliwolf.com\/category\/admin-customization\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Enable XML-RPC On WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.intelliwolf.com\/#website\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"name\":\"Intelliwolf\",\"description\":\"WordPress, Web Design and Coding Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.intelliwolf.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.intelliwolf.com\/#organization\",\"name\":\"Intelliwolf\",\"url\":\"https:\/\/www.intelliwolf.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"contentUrl\":\"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png\",\"width\":300,\"height\":100,\"caption\":\"Intelliwolf\"},\"image\":{\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343\",\"name\":\"Mike Haydon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g\",\"caption\":\"Mike Haydon\"},\"sameAs\":[\"https:\/\/intelliwolf.com\/about-mike-haydon\/\"]}]}<\/script>\n","yoast_head_json":{"title":"How To Enable XML-RPC On WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How To Enable XML-RPC On WordPress","og_description":"I needed to use XML-RPC on one of my sites to verify that I owned the site. Normally that's not a problem with WordPress sites, because XML-RPC is enabled by default. However, I always turn it off and block access to it through iThemes Security. To enable XML-RPC on WordPress, go through your security, speed","og_url":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/","og_site_name":"Intelliwolf","article_published_time":"2020-10-17T18:24:04+00:00","article_modified_time":"2020-10-17T18:24:06+00:00","og_image":[{"url":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png"}],"author":"Mike Haydon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mike Haydon","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/"},"author":{"name":"Mike Haydon","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343"},"headline":"How To Enable XML-RPC On WordPress","datePublished":"2020-10-17T18:24:04+00:00","dateModified":"2020-10-17T18:24:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/"},"wordCount":467,"commentCount":3,"publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"image":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png","articleSection":["Admin Customization"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/","url":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/","name":"How To Enable XML-RPC On WordPress","isPartOf":{"@id":"https:\/\/www.intelliwolf.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/intelliwolf.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05-600x165.png","datePublished":"2020-10-17T18:24:04+00:00","dateModified":"2020-10-17T18:24:06+00:00","breadcrumb":{"@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#primaryimage","url":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05.png","contentUrl":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/2020\/10\/2020-10-18-enable-xml-rpc-05.png","width":808,"height":222},{"@type":"BreadcrumbList","@id":"https:\/\/www.intelliwolf.com\/enable-xml-rpc-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.intelliwolf.com\/"},{"@type":"ListItem","position":2,"name":"Admin Customization","item":"https:\/\/www.intelliwolf.com\/category\/admin-customization\/"},{"@type":"ListItem","position":3,"name":"How To Enable XML-RPC On WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.intelliwolf.com\/#website","url":"https:\/\/www.intelliwolf.com\/","name":"Intelliwolf","description":"WordPress, Web Design and Coding Tutorials","publisher":{"@id":"https:\/\/www.intelliwolf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.intelliwolf.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.intelliwolf.com\/#organization","name":"Intelliwolf","url":"https:\/\/www.intelliwolf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/","url":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","contentUrl":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-content\/uploads\/intelliwolf-logo-300t.png","width":300,"height":100,"caption":"Intelliwolf"},"image":{"@id":"https:\/\/www.intelliwolf.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/7209e3ff14822e4d70d5f194a310f343","name":"Mike Haydon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intelliwolf.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5f4754fae310a04dede91d15e57c8a0?s=96&d=mm&r=g","caption":"Mike Haydon"},"sameAs":["https:\/\/intelliwolf.com\/about-mike-haydon\/"]}]}},"_links":{"self":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts\/2053"}],"collection":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/comments?post=2053"}],"version-history":[{"count":1,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts\/2053\/revisions"}],"predecessor-version":[{"id":2059,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/posts\/2053\/revisions\/2059"}],"wp:attachment":[{"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/media?parent=2053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/categories?post=2053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/wp-json\/wp\/v2\/tags?post=2053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}