Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter capthong

    (@capthong)

    Problem solved

    I have WP multisite installed under a sub-directory and redirect the sub-directory to the root.

    Referring to

    I have the .htaccess under Public-html folder as

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
    RewriteRule ^(/)?$ blog [L]]

    Under the subdirectory, I have the .htaccess as:

    `RewriteEngine On
    RewriteBase /writing/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    And it works.

    Thread Starter capthong

    (@capthong)

    Mika, thank you for your reply.

    Where in the wp-config.php did you add the line and what exactly did you add?

    above the line /* That's all, stop editing! Happy blogging. */
    I first added the following line:
    define( 'WP_ALLOW_MULTISITE', true );

    Saw no Network Setup showing on tools menu, I replaced the added line with what suggested in WP Codex:

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );

    Still, no Network Setup showing on tools menu…

Viewing 2 replies - 1 through 2 (of 2 total)