• Resolved axiopathos

    (@axiopathos)


    I temporarily disabled Jetpack a few weeks back to see if it conflicted with a different plugin on WordPress 6.3.1, unfortunately when I turned it back on, the site connection was lost.

    I just spent weeks rechecking Cloudflare (DNS nameserver), QUIC.cloud (DDoS & CDN), & cPanel (.htaccess & wp-config.php) to whitelist all IP ranges plus some other configuration recommendations I found searching the web.

    After using this tool, https://jptools.wordpress.com/debug/, the report told me Jetpack could not communicate with my xmlrpc.php file on the root directory & that I should try navigating to the file directly in my web browser.

    My WordPress installation is self-hosted on a subdirectory folder named “/wordpress/” so obviously the xmlrpc.php would not be accessible from the root domain [i.e. https://www.example.com] (see https://www.ads-software.com/documentation/article/giving-wordpress-its-own-directory/.

    I navigated towards “www.example.com/wordpress/xmlrpc.php” & got a response of “XML-RPC server accepts POST requests only.” so no issues there…

    I highly doubted that Jetpack developers could overlook such a common scenario but I still decided to temporarily change my Site Address (URL) to match my WordPress Address (URL).

    Wow would you look at that? Now attempting to connect Jetpack miraculously works! After you can go ahead & change the Site Address (URL) back to the root domain.

    I’ve never had this issue in the 12+ years of using Jetpack since v1.0 but I hope this post saves many people unnecessary headache & time wasted.

    TL;DR: If your Site Address (URL) & WordPress Address (URL) are different, you are not going to be able to finalize setup because currently Jetpack looks for the xmlrpc.php file at the Site Address (URL).

    • This topic was modified 1 year, 2 months ago by axiopathos.
Viewing 4 replies - 1 through 4 (of 4 total)
  • I can confirm the above solution worked in my case. Set up Jetpack: “An error occurred. Please try again”.

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey @axiopathos – if those URLs are different, then in most cases, Jetpack catches the correct info automatically, but in case it doesn’t, then we so the changes from our side.

    If you are still facing the issue, could you please post your site URL here so that we can have a look? If you want it to remain private, you can also contact us via this contact form.

    If you choose to reach out directly, please include a link to this thread.

    Thread Starter axiopathos

    (@axiopathos)

    I was able to fix it by temporarily changing “Site Address (URL)” from https://spacepingpong.com/ to https://spacepingpong.com/wordpress, Set Up Jetpack, connect with WordPress.com, then change back to root domain.

    “WordPress Address (URL)” stated the same throughout: https://spacepingpong.com/wordpress

    No issues so far!

    • This reply was modified 1 year, 1 month ago by axiopathos.
    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hello @axiopathos – that’s great to hear. So, I’m marking this topic as resolved now. But If you have any further related questions, you’re welcome to reply here or open another thread for a new topic.

    Thank you for using Jetpack!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Longer Identifies xmlrpc.php Location (Site home page different than WP dir)’ is closed to new replies.