• I recently set up a development wordpress installation with multisite and then moved everything to a production server. I have everything running fine on the new server using the IP address, but now I want to use my domain name as the main site (domain.org). So, I went through the wp-config and all of the database to change the IP to the new domain name. All sites are working fine, the admin dashboard of each site works fine; however, the network admin dashboard does not work. I don’t see any broken links or this issue anywhere else – except for the network admin dashboard.

    When you are logged in to the admin dashboard of any of the sites and hover over the Network Admin panel it shows something like this: https://‘domainorg’/wp-admin/network/

    Obviously, I need to get rid of the quotes and add the period in; however, no matter where I look I cannot seem to figure out what is going on. I have looked through the forums, but didn’t see anything that seemed to help or was similar to this issue.

    Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter whipsocket

    (@whipsocket)

    By the way – forgot to mention – network admin dashboard works fine when you switch everything back to IP address. However, it puts the quotes in when you change to the domain name.

    Thread Starter whipsocket

    (@whipsocket)

    If this also helps below is what is in the .htaccess file:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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]

    # END WordPress

    And below is the multisite lines in the wp-config file:

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', ‘domain.org’ );
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Absolutely everything seems to be working flawlessly now except for the network dashboard, but I can’t understand why it is not working. Any help is appreciated.

    Thread Starter whipsocket

    (@whipsocket)

    Okay I have dug a bit deeper into this, but still haven’t resolved it. If I switch everything back to the original IP address network dashboard works just fine. However, when I switch back to the domain everything works fine – all admin sites, all sites, except for the network dashboard. Just as before the network dashboard tries to load a page that looks like the following url: https://’domainorg’/wp-admin/network .

    I have searched through the forums, but couldn’t find anything quite like this, although, I have tried editing my htaccess and wp-config based on some other forum posts, but nothing seems to work. Any ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    So, I went through the wp-config and all of the database to change the IP to the new domain name.

    How? ??

    Please read https://codex.www.ads-software.com/Moving_WordPress#Moving_WordPress_Multisite and note how we suggest you use a special tool to edit the DB. If you did that wrong, it’ll make things all weird.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in Network Admin URL’ is closed to new replies.