• Resolved abnetceo

    (@abnetceo)


    I installed Jetpack.
    After that, I get an error when I try to connect Jetpack.

    WordPress is installed in the subdirectory /wp/.
    I access the site from the root directory, not the subdirectory.

    When I check at https://jptools.wordpress.com/debug/
    , if I specify the root directory, I get the message

    XML-RPC is not responding correctly ( 404 )

    .
    When I access https://root/xmlrpc.php
    , I get a 404 error.

    When I access https://root/wp/xmlrpc.php
    , I get the message

    XML-RPC server accepts POST requests only.

    It seems that I can access xmlrpc.php normally.

    What settings do I need to make to connect Jetpack?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @abnetceo,

    Thank you for reaching out! I’m happy to assist.

    From your description, it seems the issue is related to your WordPress installation being in the /wp/ subdirectory. Jetpack relies on the xmlrpc.php file for communication, and the 404 error at https://www.abnet.co.jp/xmlrpc.php indicates it’s not accessible from the root directory.

    To resolve this, ensure the xmlrpc.php file is present and accessible. If needed, you may need to adjust your server configuration to properly route requests.

    Additinoally, verify that there are no security plugins or server settings blocking access to the xmlrpc.php file.

    You can use the debug tool to check the status of the Jetpack connection and also troubleshooting steps:

    https://jptools.wordpress.com/debug/?url=https://www.abnet.co.jp/

    Let us know if you have any further questions!

    Thread Starter abnetceo

    (@abnetceo)

    Hi Alin,

    Thank you for your answer.
    xmlrpc.php
    xmlrpc.php exists in the subdirectory /wp/.
    How can I access xmlrpc.php in the subdirectory from the root?
    Please tell me how to write .htaccess and the directory in which to place .htaccess.

    Thank you.

    Plugin Support Animesh Gaurav

    (@bizanimesh)

    Hey @abnetceo – I have made some changes on our side and now Jetpack will check XML-RPC at /wp subdirectory instead of root directory. You don’t need to write anything in .htaccess for this.

    However I see the the XML-RPC access for the site is blocked and not working. Please check the screenshot. This is the error I see when I check your site’s XML-RPC at https://example.com/wp/xmlrpc.php (replace “example.com” with your actual site URL).

    It appears your hosting provide is blocking access to site over XML-RPC, could you please contact them ask them to unblock it.

    If they need our IPs to provide us access, you can forward them our list of IPs listed here.

    On a side note: from the error it appears it is mostly coming from your host but by any chance you have any plugin installed that may also block access to XML-RPC, please temporarily deactivate it.

    Thread Starter abnetceo

    (@abnetceo)

    Hi Animesh Gaurav,
    Thank you for fixing Jetpack.
    That’s great.
    I’ve now successfully linked my site to Jetpack.
    Thank you so much.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘I can’t connect Jetpack’ is closed to new replies.