• I’m aiming for a multi-site WP installation in order to have two linked blogs. One will be at https://www.domain.com, the other at sub.domain.com.

    I’ve seen both that for a subdomain network, WP must be installed at the root directory, and that for WP3.5+, WP can be installed in a subdirectory (e.g., domain.com/wp).

    I’ve installed WP 4.2.2 to domain.com/wp. WordPress tells me that because my installation is in a directory my network must use directories. Based on advice from BlueHost, I ignored that, but the recommended code edit includes the line
    define('SUBDOMAIN_INSTALL', false);

    Can I just change that to TRUE? Am I missing something?

Viewing 1 replies (of 1 total)
  • Thread Starter Evil Overlord

    (@evil-overlord)

    Here’s what confuses me (from here):
    1.

    WordPress must run from the root of your webfolder (i.e. public_html) for subdomains to work correctly. They will not work from within a subdirectory.

    2.

    Giving WordPress its own directory works with Multisite as of 3.5, however you must make the ‘own directory’ changes before you activate Multisite.

    Can I have domain-based multisite with a WP install at /wp ?
    How?

    I tried editing the wp-config line to say ‘true’, and changing .htaccess to

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ wp/$1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    The only result was that I lost my Tools|Network link entirely.

Viewing 1 replies (of 1 total)
  • The topic ‘Does multi-site work with directory install or not?’ is closed to new replies.