Support » Plugins and Hacks » [Resolved] Sub site URL path "/" missing after 3.5.1 update

[Resolved] Sub site URL path "/" missing after 3.5.1 update

Viewing 7 replies - 1 through 7 (of 7 total)
  • I can confirm this issue exists. In the database the blog path is missing the leading slash.

    Wp Master


    May we have to change in “blog-copier.php file” I am also face this problem!! Any one know the exact solution for this ??

    Same issue! Urgent fix needed.

    The problem is in blog-copier.php line 219:

    $path = trailingslashit($base.$domain);

    Global value $base doesn’t return the trailing slash on my wp 3.5.1 multisite. Don’t know if this has to do with my setup or if it’s general in 3.5.1 but you can fix it. Add the following line above tje line 219 on blog-copier.php: $base = trailingslashit($base);

    so that it looks like
    $base = trailingslashit($base);
    $path = trailingslashit($base.$domain);

    This will make sure that the $base value will have a trailing slash in case it’s missing.

    Wp Master


    Thanks aatospaja
    it works!!!

    But one problem is still not solved for subdirectories.

    as my site is hosted on asite.com/multisite

    When I am copy

    It shows path /site2/ instead of /multisite/site2/

    Thanks for your hard work..

    It is not a good idea, to install wordpress multisite in a subdirectory.
    Always chose the domain root for multisite.

    @ aatospaja

    Thanks a lot. it work for me !!!

    There is also a new version of Blog Copier is available. maybe the author corrected this. haven’t check yet.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Sub site URL path "/" missing after 3.5.1 update’ is closed to new replies.