• Resolved Ovidiu

    (@ovidiu)


    I upgraded a 2.9.2 install to this beta and enabled the multisite configuration. On the network page I am given these configurations to insert into my files:

    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’;
    define( ‘DOMAIN_CURRENT_SITE’, ‘klub-kamikaze.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    into wp-config.php

    and

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

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]
    into .htaccess

    If I do this, I get an Error establishing database connection ??? if I then try to access this site.

    If I change the wp-config code to a SUBDOMAIN isntall, liuke this:

    define( ‘SUBDOMAIN_INSTALL’, true );

    Then I get told by my browser, that Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    Can anyone supply me with the right settigns for setting this up for subdomains?

Viewing 2 replies - 16 through 17 (of 17 total)
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘problem with a subdomain multisite install’ is closed to new replies.