• Resolved jghazally

    (@jghazally)


    Hi trying to setup jetpack,, I have wp in a different directory to the usual,,

    WP Address: https://www.skybright.co.nz/wp
    Site Address: https://www.skybright.co.nz

    Been bashing my head on this for a while, then came across this thread which mentioned reconciliation issues on jetpack end might be the cause?

    Thoughts?
    Hope you don’t mind me cc-ing you in this one @mzakariya

    Thanks in advance!

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

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

    (@bluejay77)

    Hi @jghazally,

    I took a look at Jetpack’s historical data on your site, and we noticed two different URLs in our record:

    https://www.skybright.co.nz
    – skybright.forge.co.nz

    I have updated our records so that Jetpack only has https://www.skybright.co.nz/ as the URL.

    Would you double-check SITE_URL and HOME_URL_ on your end so that they are matching where the site loads (https://www.skybright.co.nz/ )?

    Then, please disconnect and reconnect Jetpack.

    Let us know how that goes and reach out to us if you have any questions!

    • This reply was modified 3 years, 2 months ago by Jay.
    Thread Starter jghazally

    (@jghazally)

    Hi Jay,
    Unfortunately still no dice,, still getting:

    {"code":"insert_blog","message":"Unable to insert blog. Please try again or contact support.","data":400}

    Checked my home and site URLs through wp-cli:

    $wp option get home ==> https://www.skybright.co.nz
    $wp option get siteurl ==> https://www.skybright.co.nz/wp

    Not sure if its related but, my install is setup where WordPress is in in a wp directory, and my wp-content is in a content directory:

    / 
    /wp 
    /content

    This is setup through wp-config:

    define('WP_CONTENT_DIR', dirname(__FILE__) . '/content');
    define('WP_CONTENT_URL', 'https://' . $_SERVER['SERVER_NAME'] . '/content');
    define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins');
    define('WP_CONTENT_URL', WP_CONTENT_URL . '/plugins');
    • This reply was modified 3 years, 2 months ago by jghazally.
    Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @jghazally,

    It sounds like you’re using the Bedrock boilerplate? That would explain the differences in your install path.

    I’ve updated the siteurl on our end to https://www.skybright.co.nz/wp

    As a next step, can you please deactivate and delete Jetpack entirely, and then reinstall it, as described here:

    https://jetpack.com/support/reconnecting-reinstalling-jetpack/#reinstalling-jetpack

    *Please note* you shouldn’t lose any data (including stats and followers), but your settings will be reset so you’ll need to set them again after reinstalling and reconnecting.

    Let us know if that helps!

    Thread Starter jghazally

    (@jghazally)

    Perfecto! Thanks so much that worked.

    Cheers team ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to insert blog. Please try again or contact support.’ is closed to new replies.