The MU forums have moved to WordPress.org

subdirectory blogs in a subdirectory? (5 posts)

  1. wpmaniac
    Member
    Posted 15 years ago #

    I've searched and searched but I can't find any elegant solution to my problem. Hopefully you can help!

    I have WPMU installed with subdirectories. However, I want to have all new user blogs to be located in a subdirectory. That is, my root install is at http://www.domain.com and users blogs are currently located at http://www.domain.com/username. I want them to be located at http://www.domain.com/blogs/username.

    I don't want to install WPMU in a subdirectory (i.e., a directory called 'blogs') because I want the admin to be in control of the main site content (i.e., front page blog and pages).

    I could have a main WP single install at the site root and move my MU install to the subdirectory, but I'd prefer that everything were running from the same database and system.

    Thanks in advance for any help or ideas you can offer.

  2. dgilmour
    Member
    Posted 15 years ago #

    Maybe I'm missing something, but would installing into /blogs, and redirecting http://www.domain.com/index.html to http://www.domain.com/blogs not achieve the result you want?

  3. wpmaniac
    Member
    Posted 15 years ago #

    Thanks for your reply.

    The reason that I'd like the keep WPMU installed in the root directory is so that the administrator can use that account to administer the main site content... i.e, when they create a page with a slug of 'about' it shows up at http://domain.com/about.

    I'm using WPMU as a hybrid CMS/blogging platform for a medium sized enterprise and it offers exactly the functionality they need with this one small hitch. User blogs must be located in a subdirectory.

  4. andrea_r
    Moderator
    Posted 15 years ago #

    Any technical reason why exactly? Because the blgos will not actually *exist* in that subdirectory. they only exist in the database.

  5. wpmaniac
    Member
    Posted 15 years ago #

    That's what I'm trying to accomplish, andrea_r. I'd like the user blogs to automatically be "located" (I understand that this is just a function of info in the database) in a subdirectory. So, to clarify, admin account is currently located at the root http://domain.com/ (pages/permalinks are appended directly to the host root) and user accounts are also located at the root (http://domain.com/username). I'd like to automatically prepend a "category" to the user blogs: http://domain.com/users/username

    Perhaps this is best accomplished via a .htaccess hack? Can I manage this manually by editing the "Path" or "Site URL" data in the Admin's Edit Blog interface?

    Thanks for your help.

About this Topic

  • Started 15 years ago by wpmaniac
  • Latest reply from wpmaniac