Title: Log in fails with multisite code
Last modified: August 20, 2016

---

# Log in fails with multisite code

 *  Resolved [ychumanities](https://wordpress.org/support/users/ychumanities/)
 * (@ychumanities)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/)
 * Well, I tried to create a network tonight and something is just not right. I 
   got the network setup link, accessed and added the code to add to the wp-config.
   php and .htaccess files and got the network admin link in the dropdown menu just
   fine. But when I tried to make a new site, it looked like I had new subdomains
   instead of the subdirectories I wanted. The system was asking for a “xxxxx.ychumanities.
   net” format, rather than “ychumanities.net/xxxxx.” I guess I had the subdomain
   option selected rather than the subdirectories?
 * In any case, I took the code out again and started fresh. No problem adding
 * `define('WP_ALLOW_MULTISITE', true);`
 * to get the network set up link but now, when I add the second bit of code to 
   the wp-config.php file, my log-in is disabled. I know I am inputting the correct
   username and password, but when I hit enter, nothing happens. No wrong password
   error, no wiggly text, nothing. I just get the log in page. When I take out the
   code in the wp_config.php file, I can log in fine. I even tried uninstalling 
   and reinstalling WordPress altogether, but still no dice. As soon as I add
 *     ```
       define( 'MULTISITE', true );
       define( 'SUBDOMAIN_INSTALL', false );
       $base = '/';
       define( 'DOMAIN_CURRENT_SITE', 'ychumanities.net' );
       define( 'PATH_CURRENT_SITE', '/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 * I can no longer log into my dashboard.

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/#post-2278438)
 * where are you hosted?
 *  Thread Starter [ychumanities](https://wordpress.org/support/users/ychumanities/)
 * (@ychumanities)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/#post-2278469)
 * HostGator
 *  [Curtiss Grymala](https://wordpress.org/support/users/cgrymala/)
 * (@cgrymala)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/#post-2278481)
 * You did modify your .htaccess file, too, right?
 * Try changing the SALT values in your wp-config.php file. It’s possible that your
   browser is not clearing out the cookies properly when you switch from single 
   site to multi-site (which, I believe, would mimic the behavior you’re seeing 
   when trying to login).
 *  Thread Starter [ychumanities](https://wordpress.org/support/users/ychumanities/)
 * (@ychumanities)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/#post-2278487)
 * Well, I don’t know what a SALT value is, but you were spot on about the browser.
   I went through the steps to add a network to my site in Firefox rather than Chrome
   and it worked like a charm. I can log in, and I have the network admin tools,
   set up for subdirectories as I wanted. And now that I have set it up properly
   in Firefox, it all works fine in Chrome as well. Many thanks!

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

The topic ‘Log in fails with multisite code’ is closed to new replies.

## Tags

 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [multi-site](https://wordpress.org/support/topic-tag/multi-site/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 3 participants
 * Last reply from: [ychumanities](https://wordpress.org/support/users/ychumanities/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/log-in-fails-with-multisite-code/#post-2278487)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
