Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Thanks for getting in touch with us!

    I would suggest contacting your hosting provider and explaining that we are unable to access your blog via cURL, which is needed in order to use Jetpack on your site.

    You can let them know we tested the following:

    1. Check for access to xmlrpc.php via browser:
    https://ghoststorm.co.uk/xmlrpc.php

    That test returned “XML-RPC server accepts POST requests only.” which is a valid result.

    2. Check for access via cURL by running the following command from the command prompt:
    curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://ghoststorm.co.uk/xmlrpc.php' && echo

    The cURL test returned the following invalid result:

    curl -A "Jetpack by WordPress.com" -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'https://ghoststorm.co.uk/xmlrpc.php' && echo
    HTTP/1.1 404 Not Found
    X-Powered-By: PHP/5.4.45
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Link: <https://ghoststorm.co.uk/wp-json/>; rel="https://api.w.org/"
    Vary: Accept-Encoding,User-Agent
    Content-Type: text/html; charset=UTF-8
    Server:  - Web acceleration by https://www.unixy.net/varnish
    X-Cacheable: YES
    Content-Length: 17478
    Accept-Ranges: bytes
    Date: Fri, 15 Jan 2016 18:08:48 GMT
    X-Varnish: 544047683
    Via: 1.1 varnish
    Connection: keep-alive
    age: 0
    X-Cache: MISS

    Please provide the information above to your hosting provider so that they can correct the server settings to allow cURL access.

    I hope this helps.

    John

    (@koperasi-lestari)

    I also had the same problem before. but now I have been coping with how to edit .htaccess file and add the following code after the code after the code “# END WordPress”

    <Files xmlrpc.php>
    Order Deny,Allow
    Allow from all
    </Files>

    Thanks @john, your codes worked for me…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack gives 404 Error’ is closed to new replies.