WordPress.org

Ready to get started?Download WordPress

Forums

Network admin link broken (wordpress own directory) (4 posts)

  1. karlavecunk
    Member
    Posted 1 year ago #

    Hi,
    While updating wordpress 3 to 3.3.2, I discovered a little problem with my WordPress (own directory setup) multisite.

    The links to network admin aren't working.
    The WordPress setup is simple : /wordpress/BLOG-SLUG
    The "broken" links are, for exemple :
    /wp-admin/network/sites.php in the admin (the good link is supposed to be /wordpress/wp-admin/network/sites.php?)

    The related problem is that wordpress/wp-admin/network/sites.php doesn't work too... It's redirected to /wp-admin/network/sites.php

    So it's seem a config problem + there is a rewrite/redirection made.

    This problem isn't appening in wordpress 3.0
    The blog was a MU before updating to 3.0 then to 3.3.2

    HTACCESS  :
    RewriteEngine On
    RewriteBase /wordpress/
    
    #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>

    WP-CONFIG :
    [...]

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    define('VHOST', 'no');
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'www.acelf.ca' );
    define('PATH_CURRENT_SITE', '/' );
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOGID_CURRENT_SITE', '1' );
    
    [...]
    
    define( "WP_USE_MULTIPLE_DB", false );
    define('WP_ALLOW_MULTISITE', true);

    WEBSITE :
    http://www.acelf.ca/wordpress/ (wordpress)
    http://www.acelf.ca/nouvelles/ (BLOG)

    Thanks!

  2. What's http://www.acelf.ca/nouvelles/ ? If that's a SITE on your network, then the issue is you're trying to run Multisite out of a folder it's not installed in.

    If it's a totally separate site, we can ignore it.

  3. karlavecunk
    Member
    Posted 1 year ago #

    Hum... By giving a /nouvelles, it's juste like the classic setting

    The Site address (URL) is identical to the WordPress address (URL) (above) unless you are giving WordPress its own directory
    ?
    All the blogs are #1 as their admin, it's only the network admin that is brokeN! It works well until 3.1

    Maybe the problem is normal cause a Mu can't have a /folder/ outside /wordpress director so the config that echo links and do rewrites can't works... But it still works before 3.1 (admin bar)

    Regards,

  4. Yeah, you cannot do that with Multisite.

    Read http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Can't do it, won't work, don't try it. That's totally why you're having errors.

Topic Closed

This topic has been closed to new replies.

About this Topic