Title: Multisite subfolder admin urls incorrect
Last modified: August 22, 2016

---

# Multisite subfolder admin urls incorrect

 *  Resolved [khanselman](https://wordpress.org/support/users/khanselman/)
 * (@khanselman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/multisite-subfolder-admin-urls-incorrect/)
 * I have a fresh install of WordPress 4.0 and before installing any themes or plugins
   I enabled multisite following the instructions on the WordPress website.
 * I added the following to wp-config.php
 *     ```
       /* Multisite */
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', false);
       define('DOMAIN_CURRENT_SITE', 'domain.com');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 1);
       ```
   
 * And my .htaccess file is as follows:
 *     ```
       # 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
       ```
   
 * When I log in and try to go to any of the “My Sites” links on the admin bar, 
   all links point to my main install’s wp-admin/ instead of the subfolder site’s
   wp-admin/ (ie. point to domain.com/wp-admin/ instead of domain.com/site2/wp-admin/).
   Furthermore, when I try to active a theme it activates it on my main site instead
   of the subfolder site. The admin URLs seem to be leaving off the subfolder completely
   in all areas of the second site admin.
 * If I edit the site in Network Admin
    Domain for the second site is : [http://domain.com](http://domain.com)
   Path for second site is: /site2/

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 9 months ago](https://wordpress.org/support/topic/multisite-subfolder-admin-urls-incorrect/#post-5297894)
 * You have all plugins turned off, right?
 *  Thread Starter [khanselman](https://wordpress.org/support/users/khanselman/)
 * (@khanselman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/multisite-subfolder-admin-urls-incorrect/#post-5297919)
 * Yes, all plugins are off. I’ve also tried clearing my cookies/cache. Tried adding
   a new site, deleting sites, and all secondary sites admin links in admin bar,
   left menu, and through the admin area point to domain.com/wp-admin/ instead of
   the secondary site’s wp-admin.
 *  Thread Starter [khanselman](https://wordpress.org/support/users/khanselman/)
 * (@khanselman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/multisite-subfolder-admin-urls-incorrect/#post-5297921)
 * Well.. it looks like it is an issue with my host, not wordpress or any plugins.
   I’m using a Managed WordPress setup with GoDaddy and I just found out via their
   online chat that GoDaddy blacklists network/mulitsite setup on their managed 
   systems (as well as some plugins). They offer it on their cPanel hosting, but
   not on the managed hosting ($30/yr difference in price). They also won’t support
   the multisite if you set it up on their cpanel hosting.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multisite subfolder admin urls incorrect’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [khanselman](https://wordpress.org/support/users/khanselman/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/multisite-subfolder-admin-urls-incorrect/#post-5297921)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
