WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Should you manually create sub-directories for multisites? (9 posts)

  1. philroc1
    Member
    Posted 1 year ago #

    Hello,

    Here's my current WordPress directory configuration:

    wp
    index.php
    licence.txt
    readme.txt
    wp-admin
    ...
    wp-content
    ...

    once I have enabled multisite mode in wp-config.php and .htaccess, do I need to create a new sub-directory in 'wp' (eg, 'blog1', 'blog2', etc.) for each new site and copy all php files contained in the standard wordpress directory (ie, 'wp'), to each sub-directory?

    Last but not least, how do you import WXR files for each site?

    Many thanks.

    philroc1

  2. sontru
    Member
    Posted 1 year ago #

    No you do not. You might need to create a blogs.dir if you are not using the latest version 3.5 (3.5.1).

    http://codex.wordpress.org/Create_A_Network

  3. philroc1
    Member
    Posted 1 year ago #

    Thanks for replying.

    I have followed the instructions in Create_A_Network. However, what is not clear in that article is how to add new sites.

    I have created a new site in the Dashboard called site1. However, when I visit it, I get the following message:

    The requested URL /wp/site1/ was not found on this server.

  4. Go to /wp-admin/network/

    There's an add new site right there.

    The requested URL /wp/site1/ was not found on this server.

    That means you probably didn't setup your .htaccess

  5. philroc1
    Member
    Posted 1 year ago #

    HI Itsenu,

    just created a new site as suggested. The new site called "test1" appears in the list of sites. However, the administrator (myself) hasn't received any e-mail and the "wp" directory does not contain a "test1" sub-directory, contrary to what the Edit Site Window indicates ("path: /wp/test1"). There's no point in modifying "wp"'s .htaccess file as there's no "test1" sub-directory.

  6. philroc1
    Member
    Posted 1 year ago #

    One more thing, in my Apache logs, there's the following message:

    [Tue Feb 26 10:07:18 2013] [error] [client xxx.xxx.xxx] File does not exist: /webapp/intranet/wp/test1, referer: http://abc.def.com/wp/wp-admin/network/site-info.php?id=2

  7. philroc1
    Member
    Posted 1 year ago #

    I finally figured out what was wrong: the .htaccess file in wp was not taken into account by Apache because the AllowOverride for the directory that included wp, in httpd.conf, was equal to None instead of All.

  8. philroc1
    Member
    Posted 1 year ago #

    Resolved.

  9. afjsystem
    Member
    Posted 1 year ago #

    i have same problem, can you tell me how to allowoverride apache ?

Topic Closed

This topic has been closed to new replies.

About this Topic