• Resolved chellezacharias

    (@chellezacharias)


    My Jetpack plugin for Chellesprettythings.com indicates that it is running on a staging server. I’ve contacted my host provider, hostgator, but they have been unable to resolve the issue. I was working on a development or staging subdomain (dev.chellesprettythings.com) last October and the issue seems to have started at that time. I do not know how to fix this.

    https://www.ads-software.com/plugins/jetpack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • When your staging site is under a subfolder of your live site i recommend have to disable jetpack plugin on the staging site. Otherwise it will run into conflicts with the jetpack plugin running on the live site. At least that is what i experienced in the past with jetpack running parallel on production and staging site on the same server.

    Thread Starter chellezacharias

    (@chellezacharias)

    Thank-you for the suggestion. I just tried moving the entire development directory so it wasn’t in a sub folder of the live site. Unfortunately Jetpack still shows that it is running on a staging server on my live site and and won’t allow me to remove or disable Jetpack.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You can force your site to be declared as production site by pasting the following in your theme’s functions.php file, or in a functionality plugin:

    add_filter( 'jetpack_is_staging_site', '__return_false' );

    That should do the trick.

    @rene Hermenau Instead of deactivating the plugin altogether, you could mark that site as staging site, as explained here:
    https://jetpack.com/support/staging-sites/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I can't get Jetpack out of staging server mode’ is closed to new replies.