WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] File Directories for Multisite (8 posts)

  1. BloggerDave
    Member
    Posted 4 years ago #

    I have a question about the directory structure for installing WordPress Multipress. If I read the documentation correctly, it seem to suggest that to use Multisite, you should install WordPress in the root directory. I believe the idea is so that you will have

    http://www.mydomain for the main page
    http://www.mydomain/blog1
    http://www.mydomain/blog2
    etc.

    I have, however, installed WordPress under root\blogs directory, so currently I have

    http://www.mydomain/blogs for the main page
    http://www.mydomain/blogs/blog1
    http://www.mydomain/blogs/blog2

    My question is if this setup is ok or will I run into problem later? Does WordPress Multisite assume/require that the installation is at the root level?

    Thanks!

    PS: I should add that currently the basic operations like add posts, edit posts, add images, etc. all work fine.

  2. adywp
    Member
    Posted 4 years ago #

    it seem to suggest that to use Multisite, you should install WordPress in the root directory

    that requirement only for sub-domain installation:
    http://www.mydomain for the main page
    http://blog1.mydomain
    http://blog2.mydomain

    for sub-directory, the only requirement is to enable mod_rewrite module

    CMIIW
    ... so i guess ur installation will be ok

  3. Does WordPress Multisite assume/require that the installation is at the root level?

    No, technically it can be anywawhere. just realize the foldername will be in the URL.

    The only place it will break is if you have WP install in a folder and running outside of that folder. Example: your wp files are in a folder called /whatever/ off of your domain, but your install lives at yourdomain.com. That is the only instance where it will not work.

  4. BloggerDave
    Member
    Posted 4 years ago #

    Thank you thank you thank you.

    I have been trying WordPress for about 2 weeks, and I feel comfortable about formally launching my blog(s) now.

    You guys are great! Many thanks!

  5. JohnL
    Member
    Posted 4 years ago #

    Hi, Andrea_r:

    No, technically it can be anywawhere.

    I'm not convinced.

    On a development box, I installed 3.0 in a directory one step removed from the root, updated the wp-config successfully to enabled multi-site, added a new blog, then added the MU Domain Mapping plug-in (as per installation instructions in the readme). Now I get an error message when I log into the admin panel, as shown here.

    I really do not want to have Word Press live in the root of my server. It would then take over too much. I 'spose I could disable the index.php files in the installation in root....

  6. You didn't specify domain mapping. ;)

    The *plugin* itself insists that the install be in the root. In your server config, you can specify any folder to be the web root. ;)

  7. JohnL
    Member
    Posted 4 years ago #

    You didn't specify domain mapping. ;)

    Hmmm...sure thought I had specified domain mapping. How else could I have created the test blog off the main one? (See image here.)

    The *plugin* itself insists that the install be in the root. In your server config, you can specify any folder to be the web root. ;)

    Gotcha. Although I use virtual hosts for the blogs I've mentioned elsewhere, my httpd.conf file points to the standard path for the main Web server.

  8. Sorry, I meant earlier in the thread.. .skimming by late at night again...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.