• aubervilliers

    (@aubervilliers)


    Hi, i upgraded to wordpress 3.1. I have 10 blogs. They work well but i can’t enable network site.
    When i click on network site, i am redirected on a wrong page.

    I put thouse lines on wp-config.php :
    define (‘WP_ALLOW_MULTISITE’, ‘true’ ) ;
    define(‘MULTISITE’, true );
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘robespierre-cochennec-peri.aubervilliers.fr’);
    define(‘PATH_CURRENT_SITE’, ‘/wpmu/’);
    $base = ‘/wpmu/’;
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    But it does not work.

    The first blog is a subdomain of aubervilliers.fr and wordpress is installed in this folder : www/wpmu/

    Need help

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You can’t have subdomains AND WordPress installed in a a subfolder with MultiSite.

    Thread Starter aubervilliers

    (@aubervilliers)

    But it works like that for two years. What do i do now ? Thank you.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    As separate sites, right?

    To clarify, I’m saying this: If your MAIN website is domain.com/wpmu and you want to run multisite, then you MUST pick subfolders

    I would install a new WordPress in www and set it up for MultiSite. then export your OLD sites into the new one.

    Thread Starter aubervilliers

    (@aubervilliers)

    I understand but i have my main site aubervilliers.fr in wwww that runs with another CMS. That’s why i choose the folder wwww/wpmu to install wordpress.

    Since 2009, my blogs run on wordpress like this. With wordpress 3.0.5 it works and the upgrade to 3.1 changed this.

    Is it possible to keep this install and run multisite on wordpress 3.1 ?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Are you talking about SEPARATE blogs? If so, yes.

    If you’re talking about ONE MultiSite, NO.

    Thread Starter aubervilliers

    (@aubervilliers)

    I talk about 10 blogs installed on aubervilliers.fr/wwww/wpmu that run with wordpress 3.1.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You have a multisite (3.0.5) in a subfolder using subdomains?

    I have no idea how you did that. It’s not supposed to work and isn’t supported.

    Thread Starter aubervilliers

    (@aubervilliers)

    My 10 blogs are installed like this :
    – wordpress is in this folder : mydomain/wwww/wpmu/
    – each blog has its folder in : mydomain/wwww/wpmu/wp-content/themes/
    – multimedia files are in separate folders : mydomain/wwww/wpmu/wp-content/blogs.dir
    – in apache conf. mydomain is configured like this :
    <VirtualHost *>
    ServerAdmin [email protected]
    ServerName sub-domain.mydomain.com

    DocumentRoot /xxx/xxx/mydomain.com/www/wpmu
    <Directory /xxx/xxx/mydomain.com/www/wpmu/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    </Directory>

    ErrorLog /var/log/apache2/sub-domain_error.log
    LogLevel warn
    CustomLog /var/log/apache2/sub-domain_access.log combined
    </VirtualHost>

    It works for two years like that. Now did you have an idea how to configure wp-config.php or anything to help me ?
    Thank you very much

    – each blog has its folder in : mydomain/wwww/wpmu/wp-content/themes/

    Those are theme folders, not blog folders.

    If you had it running this way before, you were doing so with an *unsupported* method or hack of which we have no knowledge.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The ONLY thing I can think of is that this:

    DocumentRoot /xxx/xxx/mydomain.com/www/wpmu
    <Directory /xxx/xxx/mydomain.com/www/wpmu/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    </Directory>

    is telling your server that www is NOT the main folder for your domain, but www/wpmu IS. And if THAT is the case, then mydomain.com would default to show mydomain.com/www/wpmu’s content… But if you’re accessing it all from mydomain.com/wpmu then I’m at a loss. You’ve gone beyond my skills with httpd.conf

    Thread Starter aubervilliers

    (@aubervilliers)

    I did not configured apache on my server.
    I can only tell you about my configuration :

    .htaccess in home/web/aubervilliers.fr/www/wpmu :

    RewriteEngine On
    # RewriteBase /wpmu/
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    my subdomain for example paulbert.aubervilliers.fr is declared on the manager of ovh (host) and put in my conf like you can see above.

    I don’t understand why it does not work. I tried to change wp-config.php like you’v seen before but a mysql error connection appeared.
    What do i have to do ? Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘network site doesn't work !’ is closed to new replies.