• Resolved ychumanities

    (@ychumanities)


    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)
  • where are you hosted?

    Thread Starter ychumanities

    (@ychumanities)

    HostGator

    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

    (@ychumanities)

    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.