Title: Database name in multisite path
Last modified: August 19, 2016

---

# Database name in multisite path

 *  [lambyte0](https://wordpress.org/support/users/lambyte0/)
 * (@lambyte0)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/data-2/)
 * Hi.
 * There were no errors during installation, and the Superadmin and main blog work.
   However, if I create a site, it won’t work. If the site’s admin logs in, wordpress
   will redirect them to some site which doesn’t exist. I can manually change properties
   of the site as Superadmin to make it work, but I’m guessing I shouldn’t have 
   to.
 * What’s happening:
    1. Install WP 2. Install subdomain multisite 3. Create a site(“
   bob” in this case, user is “alice”) in the Superadmin’s site panel 4. Log in 
   as alice. I am then redirected to [http://www.lambyte.comlambyte_com_2bob](http://www.lambyte.comlambyte_com_2bob),(
   which is my domain + wordpress’s database + site name) which does my browser 
   tells me does not exist. 5. Clear my cookies and whatnot so that I can login 
   as Superadmin 6. In the sites panel, edit the bob site’s `path` to `/bob/`. Now
   everything works!
 * Evidence:
    I am using Dreamhost. Subdomain install of Multisite. **My database
   name is lambyte_com_2**
 * Possibly relevant info from Superadmin Sites panel:
 *     ```
       Editing Site - http://www.lambyte.comlambyte_com_2bob
   
       Site info (wp_blogs)
       ---
       Domain: http://
       [lambyte.com]
   
       Path: [lambyte_com_2bob]
   
       ...
   
       Site options (wp_y2fek1_3_options)
       ---
   
       Siteurl: [http://www.lambyte.comlambyte_com_2bob/]
       ...
       Home: [http://www.lambyte.comlambyte_com_2bob/]
       ```
   

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 5 months ago](https://wordpress.org/support/topic/data-2/#post-1857572)
 * Oh dream host… Check your WP-config file for something like a base define for
   that eXtra domain name.
 *  Thread Starter [lambyte0](https://wordpress.org/support/users/lambyte0/)
 * (@lambyte0)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/data-2/#post-1857581)
 * I appreciate your trying to help, but I don’t understand. There are a couple 
   lines which kind of fit that description:
 * **wp-config.php**
 *     ```
       //Multisites install
       ...
       $base = '/';
       ...
       /* Stop editing */
       ...
       $base = DB_NAME;
       ```
   
 * I’m guessing you mean by “extra” that the second `$base =` should be removed.
   Is that it?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 5 months ago](https://wordpress.org/support/topic/data-2/#post-1857675)
 * Yeah, comment out that extra Base.
 * Change it to `// $base = DB_NAME;`
 * Sorry, I couldn’t find my notes on that last night!

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

The topic ‘Database name in multisite path’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/data-2/#post-1857675)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
