• When trying to go to the Network Admin using the link in the upper right of the admin, the URL is wrong. The link it gives me is:

    http://nottsforestsoccer.comwp-admin/network/

    Should be:

    http://nottsforestsoccer.com/wp-admin/network/

    I can manually add in the missing /, but nothing in the network admin works because it posts new data to the wrong URL – that I can’t manually change.

    My config is

    define('WP_DEBUG', false);
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'nottsforestsoccer.com' );
    define( 'PATH_CURRENT_SITE', '' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Not sure if there is a setting off or what.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter Derek Ashauer

    (@sccr410)

    What should the path setting be for the default blog that lives on the root of the domain? Right now I have it set to NULL. If I change it to “/” then everything breaks (says it cannot connect to the database).

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Where?

    In the database for wp_site mine is /, ditto wp_blogs…

    Thread Starter Derek Ashauer

    (@sccr410)

    In wp_site it is “/” and in wp_blogs it is NULL.

    When I change them both to “/”, the site breaks and I get the “Error establishing database connection”

    When I change them both to NULL, the site works but the issue still remains.

    Thread Starter Derek Ashauer

    (@sccr410)

    In wp_options, changing home and siteurl to include the trailing slash also did nothing

    Had the same problem … just fixed it by adding a trailing slash in the wp-config file to:

    $base = ‘/‘;
    define( ‘DOMAIN_CURRENT_SITE’, ‘xxxxx.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/‘ );

    Hope that fix works for you.

    Thread Starter Derek Ashauer

    (@sccr410)

    Adding:

    define( 'PATH_CURRENT_SITE', '/' );

    Causes “Error establishing database connection”

    Hello, I have the same problem with the missing / in the network admin url, and adding “/” to :
    define( 'PATH_CURRENT_SITE', '' );
    causes the error “Error establishing database connection”

    Did you solve your problem ?
    thank you for your help
    -m

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Wrong network admin URL’ is closed to new replies.