The MU forums have moved to WordPress.org

Subdomains and separate /wpmu/ directory? (10 posts)

  1. parakeet
    Member
    Posted 17 years ago #

    Whilst I know I can store the contents of /wpmu in the /public_html root, rverything I've read suggests it's best to maintain WPMU files in a /public_html/wpmu/ folder.

    So can someone please help me with how, then, then operate user blogs like http://subdomain.domain.com and not http://subdomain.domain.com/wpmu/?

    That is, how do you both separate the wpmu files *and* remove that portion of the url from user blog? Is there a bit of rewrite magic that can be done?

    Notes...
    1. My host has confirmed mod_rewrite is available (though I don't have access to the httpd.conf myself - so am not able to confirm availability of "AllowOverride FileInfo Options" as per readme.txt instructions).
    2. My host has enabled virtual host wildcards and DNS wildcards

    I am also confused about .htaccess. I am a cPanel user and have just deleted the .htaccess file I had in /public_html - how will this get replaced by the necessaries? Will I need to do it, will it happen during installation?

    Thanks for your help?

  2. andrea_r
    Moderator
    Posted 17 years ago #

    The htaccess file gets created on installation.

    Most people who have http://subdomain.domain.com have it installed in the root folder.

    "Everything I've read suggests it's best to maintain WPMU files in a /public_html/wpmu/ folder."
    Really? Where?

    I know for a few people it's a personal preference to have MU off in its own folder becasue it helsp keeps things striaght because they have a whole pile of other things on that domain. BUT if you're mainly doing an MU site, plunk it in the root. It will make your life much, much easier.

    I think in the install it has it off in a folder, but they either missed a step in moving it up to root or forgot. It needs to be changed.

  3. parakeet
    Member
    Posted 17 years ago #

    Instructions ask that public_html and wp-content are chmod 777 (formerly they were 750 and 755). Is it safe to change for installation, and leave it that way?

  4. coolrasta
    Member
    Posted 17 years ago #

    i think you can chmod go-w public_html after installation for security reason ... Correct me if i am wrong but wp-cont should be kept that way otherwise users won't be able to upload files ...

  5. zeug
    Member
    Posted 17 years ago #

    blogs.dir in wp-content is writeable by the server, and cache if you use that, otherwise I keep wp-content secure once the install is done.

    Totally re-secure your public_html directory, install only needs that if you don't write your own wp-config.php as far as I remember.

  6. ealm
    Member
    Posted 17 years ago #

    I too need to know if it's possible to install wpmu into a subfolder to the domain, and still use sub-domains for the user blogs?

  7. drmike
    Member
    Posted 17 years ago #

    Short answer - no.

    Longer answer - you can do it but you would be doing redirects of redirects of redirects and that would probably get you kicked off of any shared host due to strain on the processor. Sort of like doing 200 mph down an interstate in first gear.

  8. simonwheatley
    Member
    Posted 15 years ago #

    Is this still the case? I was hoping I could run WPMu in a separate directory off the docroot (included via SVN:Externals) for easier maintenance.

  9. simonwheatley
    Member
    Posted 15 years ago #

    Just had word from Donncha that it is still the case. Bother. It would make life simpler if it wasnt the case. :)

  10. wcpublisher
    Member
    Posted 15 years ago #

    So, what you are saying is that those who run other programs in the root directly must use the subdirectories instead of the subdomains?

About this Topic

  • Started 17 years ago by parakeet
  • Latest reply from wcpublisher