The MU forums have moved to WordPress.org

New blogs created are missing a slash "/" (3 posts)

  1. keppy
    Member
    Posted 15 years ago #

    Any new blogs I create are missing a slash in the URL. For example, my Wordpress MU is installed in joshandmeg/blogs and the subdomain blogs.joshandmeg.net is pointed to joshandmeg/blogs. Then my Wordpress MU blogs should be created in subdirectories of that, so blogs.joshandmeg.net/ryan or whatever. The problems is that when I create a new blogs they get created with this URL blogs.joshandmeg.nettest1/ instead of blogs.joshandmeg.net/test1/.

    I recently moved web hosts from 1and1 to site5, and moved this entire installation of WPMU with the same directory structure. The blogs that were previously created are all working fine, for example blogs.joshandmeg.net/ryan works just fine. Any new blogs created are causing me problems.

    Any ideas?

  2. dgilmour
    Member
    Posted 15 years ago #

    Your wp-config.php should contain:

    $base = '/blogs/';

    If that was missing the initial / I'd imagine you might get these symptoms...

  3. keppy
    Member
    Posted 15 years ago #

    Thanks a bunch dgilmour, that was the problem. Adding $base='/'; solved it. I love it when they are that simple.

About this Topic