WordPress.org

Support

Support » Multisite » Login problems to main site

Login problems to main site

Viewing 11 replies - 1 through 11 (of 11 total)
  • I can log in to my subdirectory multisite, but should I try to access My Sites and go into the dashboard I get sent to the login for the main site and from there I can’t log in to the main site
    Frustrating man

    Hi, used the Enable Multi-Site plugin, which has worked well.

    Using that isn’t supported, nor recommended by most of us.

    Remove it. Undo whatever it did.

    Create a Network manually. It’s good practice for what life is like supporting Multisite.

    Ok.
    I did it before I realised how easy it is to create a network. I’ll see if I can remove it. Just means it’s a bugger to back up galleries of pictures as I lose my galleries when exporting my files.

    You don’t have to export anything. Just uninstall the plugin, and then restore your wp-config and .htaccess from backup (which you hopefully have…)

    Yep
    Done that
    Back down to my one site, which I can now gain access to.
    But, following this http://codex.wordpress.org/Create_A_Network I have added the necessary line to wp-config and I can’t get to stage 3. Nothing happens. Just normal dashboard comes up.
    This is what I have in the top section of my wp-config file.
    Is it in the right order?

    <?php
    /**
     * The base configurations of the WordPress.
     *
     * This file has the following configurations: MySQL settings, Table Prefix,
     * Secret Keys, WordPress Language, and ABSPATH. You can find more information
     * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
     * wp-config.php} Codex page. You can get the MySQL settings from your web host.
     *
     * This file is used by the wp-config.php creation script during the
     * installation. You don't have to use the web site, you can just copy this file
     * to "wp-config.php" and fill in the values.
     *
     * @package WordPress
     */
    
    <strong>define('WP_ALLOW_MULTISITE', true);</strong><em>
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'XXX');
    
    /** MySQL database username */
    define('DB_USER', 'XXX');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'XXX');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    Any help appreciated to get out of this mess, although am getting out of it sort of 🙂

    Order doesn’t matter TOO much, but I always put it at the end, below the debug line.

    Right, but that should work should it?

    That’s PART of it.

    You did step 2 – http://codex.wordpress.org/Create_A_Network#Step_2:_Allow_Multisite

    Now follow the rest of the directions.

    🙂 Cheers pal

    Hi,
    I have got the same problem as above back with my new install of multisite. Maybe there is something I didn’t clear out of the system when I took out Enable Multi-site, but again I can log into my subsite by not my main site.
    I get this as I login and keep getting redirected

    “redirect_to=http%3A%2F%2Fwww.hopwoodmedia.co.uk%2Fwp-admin%2Fnetwork%2F&reauth=1”

    Is there something wrong here do you know?

    If you were able to MAKE a subsite, then everything worked fine at one point, right?

    What did you change right before it stopped? Did you add new plugins in?

    Have you tried renaming the plugins folder to plugins-old?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Login problems to main site’ is closed to new replies.
Skip to toolbar