The MU forums have moved to WordPress.org

blog path? (1 post)

  1. nedlud
    Member
    Posted 15 years ago #

    Hi, I'm running an instance of WPMU (2.6.3) on Lunarpages. Since they don't support wildcard DNS entries, I'm running the blog using sub folders.

    Say I have two blogs called...
    mydomain.com/first_blog
    mydomain.com/second_blog

    I need to get the "first_blog" or "second_blog" part from the address.

    I've tried the get_blog_details() function, but it always says my Path is "/" (I'm expecting "/first_blog", for example), and always reports the blog_id as "1", no matter which actual blog I'm looking at (the admin panel says the blogs are numbers 4 and 5 respectively).

    Am I doing something wrong?

    Or is this a problem with running the blogs in subdirectories instead of subdomain?

    Any advice?

About this Topic

  • Started 15 years ago by nedlud