Forums

Force Multisite in 'Sub-directory' mode (4 posts)

  1. riversatile
    Member
    Posted 1 year ago #

    Hi,

    I want to migrate my WordPress 3.0.1 to WordPress MU 3.0.1
    Note that my WEB provider (PHPNUX) doesn't allow DNS WILDCARDS. So I can't use Sub-Domains sites... Anyway, I can configure it for Sub-Directories sites like : http://example.com/site1

    So I have followed the process here : http://codex.wordpress.org/Create_A_Network
    I have activated Network features using appropriate line in WP-CONFIG.PHP, modified .HTACCESS file, finally activated my Network.
    BUT, the process inform us with the below :

    You cannot choose Sub-directory Install in the following cases :
    If your existing WordPress installation has been set up for more than a month, due to issues with existing permalinks. (This problem will be fixed in a future version.)

    I'm in this case.
    Is there a way around this ? without breaking existing Perma-links !

  2. Yes and no.

    Yes you can override it. Just set it up with subdomains for now, but before you do anything tricksy, go back into wp-config.php and change
    define( 'SUBDOMAIN_INSTALL', true );
    to
    define( 'SUBDOMAIN_INSTALL', false );

    As for breaking thing ... well. The reason it breaks things (or CAN break things) is that it really depends on your setup.

    If your current blog is set to use URLs like domain.com/postname, then any time a new sub-site has the same name as a post, bad things will happen. And even if you don't, PAGES will use the URL domain.com/pagename, and they can cause conflicts.

    It's not a huge risk, just something you need to be aware of and prepared for.

  3. riversatile
    Member
    Posted 1 year ago #

    OK, this is what I understood.

    I've just to replace :
    define( 'SUBDOMAIN_INSTALL', true );
    by
    define( 'SUBDOMAIN_INSTALL', false );

    ???

  4. Yep.

Topic Closed

This topic has been closed to new replies.

About this Topic