Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having this problem, too.
    Also, if you have it copy files, they will not be copied correctly, and their URL’s will end up being incorrect.
    So you have time to fix this?
    Thanks so much for making this plugin — it’s a good time saver.
    Take care,
    Paul

    Hey here is the solution that worked for me:
    1. FILE: blog-copier.php
    2. Find the line:
    $path = trailingslashit($base.$domain);
    * This is in the conditional statement that checks whether it is a subdomain install or not.
    3. Change the line to:
    $path = trailingslashit( $base . "/" . $domain );

    Try it out!
    Cheers,
    Paul

    Hmm, just note… in my case “$base” is empty. I’m not sure in what cases it isn’t empty. But if it is ever not empty, like maybe:
    https://mysite.com/
    … then my solution will make trouble.
    Maybe it should be:
    $base = trailingslashit( $base );
    $path = trailingslashit( $base . $domain );

    ??
    Paul

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘/ missing from new blog address’ is closed to new replies.