Title: &quot;Network Admin&quot; link redirecting to &quot;http://wp-admin/network/&quot;
Last modified: August 20, 2016

---

# "Network Admin" link redirecting to "http://wp-admin/network/"

 *  Resolved [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/)
 * Site URL: [http://www.abetterworldbydesign.com](http://www.abetterworldbydesign.com)
 * The “network admin” link in my dashboard is directing to [http://wp-admin/network/](http://wp-admin/network/)(
   obviously not a valid URL). Also, when typing in the URL of [http://www.abetterworldbydesign.com/wp-admin/network](http://www.abetterworldbydesign.com/wp-admin/network),
   this also redirects to [http://wp-admin/network/](http://wp-admin/network/). 
   So I am unable to get to my network admin dashboard.
 * Also, after upgrading to WordPress 3.2.1, the message that says “Thank you for
   Updating! Please visit the Update Network page to update all your sites.” links
   to [http://wp-admin/network/upgrade.php](http://wp-admin/network/upgrade.php).
   Typing in the URL of SITEURL.com/wp-admin/network/upgrade.php also redirects 
   to [http://wp-admin/network/upgrade.php](http://wp-admin/network/upgrade.php)
 * I am actually having this issue on the production site in WP 3.1.4 and also the
   development site running WP 3.2.1.
 * WordPress Multisite is running with subdirectories as opposed to subdomains. 
   The network admin area had been working in the past, so I’ve been trying to backtrack
   to see where this error started. Not sure if it’s a server issue or a WordPress
   issue.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/page/2/?output_format=md)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214022)
 * Could be a plugin conflict tho. I;d start by checking db values to make sure 
   every place that needs to save the domain name actually has it in place.
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214196)
 * Okay, thanks. Where specifically in the database should I be checking?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214201)
 * wp_site, wp_sitemeta, wp_options (and really all wp_X_options)
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214234)
    1. wp_site: domain = [http://www.abetterworldbydesign.com](http://www.abetterworldbydesign.com)
       | path = /
    2. wp_sitemeta: meta_value[siteurl] = [http://www.abetterworldbydesign.com/](http://www.abetterworldbydesign.com/)
    3. wp_options: option_name[siteurl] = [http://www.abetterworldbydesign.com](http://www.abetterworldbydesign.com)
    4. wp_3_options: option_name[siteurl] = [http://www.abetterworldbydesign.com/2010/](http://www.abetterworldbydesign.com/2010/)
 * wp_3 represents the only other WordPress blog (other than the root) that I currently
   have in this install of WP Multisite.
 * Only discrepancy I noticed is that #2 has a trailing slash and #3 does not. Not
   sure what these values should be specifically, but everything looks as expected
   with my limited knowledge of what the database should look like.
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214261)
 * I’ve been communicating with tech support at my web host about this. They’ve 
   looked into things, and they’ve been stumped. Here’s the info they provided me
   from what they found though.
 * “The issue here is that the value returned by network_admin_url(); when called
   by your blog isn’t correct. I’m not sure where or how this is stored in your 
   database.”
 * Any idea where the value returned by network_admin_url(); is stored in the database?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214262)
 * > Any idea where the value returned by network_admin_url(); is stored in the 
   > database?
 * It’s built on the fly.
 * What’s the value in wp-config.php for DOMAIN_CURRENT_SITE?
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214263)
 * define( ‘DOMAIN_CURRENT_SITE’, ‘www.abetterworldbydesign.com’ );
 *  [rickleijtencom](https://wordpress.org/support/users/rickleijtencom/)
 * (@rickleijtencom)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214264)
 * Might check your htaccess, it prolly rewrite wrong aswell.
 * Whats the value in wp-config of patch_current_site, site_id & blog_id_current_site?
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214265)
 * .htaccess code:
 *     ```
       # BEGIN WordPress
       Options +FollowSymLinks
       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).*) $1 [L]
       RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
       RewriteRule . index.php [L]
       # END WordPress
       ```
   
 * select lines from wp-config.php:
 *     ```
       define( 'SUBDOMAIN_INSTALL', false );
       $base = '/';
       define( 'DOMAIN_CURRENT_SITE', 'www.abetterworldbydesign.com' );
       define( 'PATH_CURRENT_SITE', '/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214266)
 * And you have `define('WP_ALLOW_MULTISITE', true);` in there too? Shouldn’t matter
   but…
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214268)
 * > wp_site: domain = [http://www.abetterworldbydesign.com](http://www.abetterworldbydesign.com)
   > | path = /
 * this table should not have the http:// in it.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214269)
 * It may not (the forums add it in if you put www . domain . com in :/ )
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214271)
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/) – good call. The forum
   did add the http:// to my value for wp_site: domain. It actually reads www(dot)
   abetterworldbydesign(dot)com in the database.
 * As for WP_ALLOW_MULTISITE, the support team at HostGator did some tinkering with
   it. that line currently reads:
 *     ```
       define( 'MULTISITE', true ); //hg commented this, to be replaced by next line:
       //define( 'WP_ALLOW_MULTISITE', true );
       ```
   
 * Toggling the commented lines to:
 *     ```
       //define( 'MULTISITE', true ); //hg commented this, to be replaced by next line:
       define( 'WP_ALLOW_MULTISITE', true );
       ```
   
 * causes a “Error establishing database connection” message in the browser.
 * Here’s my entire [wp-config.php in pastebin](http://pastebin.com/Zmn2Ub9e) (secure
   items replaced with “###”).
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214272)
 * Try this:
 *     ```
       define( 'MULTISITE', true );
       define( 'WP_ALLOW_MULTISITE', true );
       ```
   
 * Yes, both.
 *  Thread Starter [mrengy](https://wordpress.org/support/users/mrengy/)
 * (@mrengy)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/#post-2214273)
 * Thanks all for the replies. Okay, I’ve changed those lines in wp-config.php to
 *     ```
       define( 'MULTISITE', true );
       define( 'WP_ALLOW_MULTISITE', true );
       ```
   
 * I’ve also updated it [in pastebin](http://pastebin.com/Zmn2Ub9e).
 * The front end of the site is behaving normally, but I’m still having the issue
   originally described with the “network admin” URL.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/page/2/?output_format=md)

The topic ‘"Network Admin" link redirecting to "http://wp-admin/network/"’ is closed
to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [network admin](https://wordpress.org/support/topic-tag/network-admin/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 26 replies
 * 4 participants
 * Last reply from: [mrengy](https://wordpress.org/support/users/mrengy/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/network-admin-link-redirecting-to-httpwp-adminnetwork/page/2/#post-2214299)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
