There are certain website configurations, most commonly encountered on Bitnami sites hosted by Amazon Lightsail, which will cause problems with Jetpack’s ability to correctly determine your site URL. This can break your site’s connection to Jetpack.
To determine if this applies to you, check your
wp-config.php file for the presence of this code:
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/'); define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
If that code is present, you’ll want to remove it and replace it with this code instead:
define('WP_SITEURL', 'https://example.com'); define('WP_HOME', 'https://example.com');
Be sure to swap out the example domain with your site’s actual domain.
This recommendation is consistent with Bitnami’s support documentation regarding the correct way to set up your WordPress site’s domain.
If your site is already in Jetpack’s Safe Mode after you’ve made this change, you’ll still need follow the prompts in the Safe Mode panel on your WP Admin dashboard to resolve the situation. Making this change in your
wp-config.php file will ideally prevent the site from being placed into Safe Mode in the future, but will not take the site out of Safe Mode once it has already been activated.
Still having trouble?
Please contact support directly. We’re happy to lend a hand and to answer any other questions that you may have.