• Resolved David

    (@qwertz123456)


    Hi,

    I initially created a staging site (mydomain.com/dev) with your free plugin to start a new theme, but then decided to backup the staging site (mydomain.com/dev) and use it as the live site (mydomain.com) I have now. I currently don’t have a staging site (I did not create another staging area for my live site which WAS the staging site).

    My Question is this:
    Are they problems that I could run into the future by doing this? I noticed that in myphpadmin there are wp and wpstg0 entries, which is to be expected.

    As an example, in both wpstg0_posts and wp_posts are recent entries. Other than the funny table prefixes is this a problem?

    Thanks for your plugin and help with this question!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hello David,

    no, this will not lead to an issue. The only difference is the table prefix and that can be anything we like to.

    Cheers
    René

    Thread Starter David

    (@qwertz123456)

    Hello Rene,

    OK, thanks. The only thing I noticed is that Jetpack is in Dev Mode . –> The jetpack_development_mode filter is active

    Is there some documentation who to disable that? I’ve tried setting this line in the wp-config, but no luck. Jetpack’s documentation is very sparse on that subject : (

    Plugin Author Rene Hermenau

    (@renehermi)

    Hi,

    please try this one in your functions.php

    apply_filters ( 'jetpack_is_staging_site', false);

    Does it work?

    Thread Starter David

    (@qwertz123456)

    Unfortunately not : (

    Plugin Author Rene Hermenau

    (@renehermi)

    @kokkieh Do you have an idea how to disable the Jetpack staging mode on a website?

    Plugin Author Rene Hermenau

    (@renehermi)

    @qwertz123456 Sorry I made a mistake, try this one instead:

    add_filters( 'jetpack_is_staging_site', false );
    add_filters ( 'jetpack_development_mode', false);

    Does this work?

    Thread Starter David

    (@qwertz123456)

    add_filter worked! You added an “S” that didn’t work : ) Thanks for the help!

    KokkieH

    (@kokkieh)

    Hi there,

    The Dev Mode documentation for Jetpack is here:

    https://jetpack.com/support/development-mode/

    That should only be active on a localhost installation, though, which it doesn’t appear you have?

    It looks like you got things working now, @qwertz123456, but if you need more help with this from the Jetpack end, you’re welcome to open a new thread at https://wordpress.org/support/plugin/jetpack/, or a support ticket at https://jetpack.com/contact-support/?rel=support so we can help you look into it.

    Thread Starter David

    (@qwertz123456)

    >That should only be active on a localhost installation, though, which it doesn’t appear you have?

    Nope, my site live.

    >https://jetpack.com/support/development-mode/
    Yeah, I seen that too, but that didn’t help. Only after the two filter in my funtions.php did the “Get started” appear.

    Plugin Author Rene Hermenau

    (@renehermi)

    @kokkieh Thank you very much. You are awesome! I did not expect the tagging function working so excellent;-)

    @qwertz123456 I am glad that you noticed my spelling issue. Even after years of developing with WordPress I sometimes mess up with the correct function names:-)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Using stage site as live site: Is this a problem?’ is closed to new replies.