Support » Plugin: WP STAGING - DB & File Duplicator & Migration » Can WP Staging work on the Intranet?

  • Resolved richard



    I have a quite an old intranet site, i figured i might as well update it; new theme, etc.

    So for that, i tried to install WP Staging – it seemed to work all the way to 100%, when suddenly i got this error:

    [ERROR]-[2019/02/19 08:20:46] Preparing Data Step6: Failed to reset index.php for sub directory; wp-blog-header.php is missing

    Both the files are there. Rather odd error there, any ideas would be most welcome? Thank you

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



    this is a wrong error. Will be fixed with the next version.

    Please open index.php and find a line similar to


    Please let me know that exact line here or sent me the index.php to support [at]

    Is the staging site still working or did the cloning process stopped completely after that error?


    Hi Rene, thanks.

    Yes you are right; the code is:

    define(‘WP_USE_THEMES’, true);
    if (strcmp(“/wordpress/index.php”,$_SERVER[‘REQUEST_URI’]) && strcmp(“/wordpress/”,$_SERVER[‘REQUEST_URI’])){
    } else {
    header(‘location: wp-login.php’);

    It should still work; the folders/files seem to work. As said, WP Stage works right to the end…..

    Plugin Author Rene Hermenau


    Please change the line:



    require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );

    The create a new staging site. This should fix it.

    Plugin Author Rene Hermenau


    If it still does not please send me a mail to support [at]

    I can figure this out for you.

    Hi Rene,

    Thank you, very much appreciate the help.

    I will try this – is there someway to test this perhaps? Instead of trying the entire clone?

    I never set up the intranet; things may have changed, so this could be why (although the wordpress is ok). The link i from my PC is \\SMTNAS01\web\wordpress

    Hi Rene, that worked fine; thanks for the help.

    Plugin Author Rene Hermenau


    @rich_smc thanks for your feedback. I’m glad that it works now. Have a great week

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can WP Staging work on the Intranet?’ is closed to new replies.