• Hi all,

    I have been asked to set-up a multi-site install of Word Press at work for the different parts of our company to have there own blog

    Now i have followed the tutorials to create a multi site install one i have done this i have a slight problem,

    When Went to Tools->Network settings i got told to create the folder blogs.dir and add wp-config.php into that folder and past the code i did that and i created the .htaccess file required

    I then loged out and back in Click the Tool->Network Settings and i get a Warning

    Warning: An existing WordPress network was detected.

    But no more configuration options appear it just tells me to create the files again and there is no network admin link on the drop down menu when i click “Howdy, admin”

    What am i doing wrong?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Dion Hulse

    (@dd32)

    Meta Developer

    It sounds like you havn’t fully created the wp-config.php correctly to me.

    Double check that you’ve inserted the new defines before the final stop editing comment as a start

    Thread Starter barkermn01

    (@barkermn01)

    new defines?

    I only have the on in the default (root dir) define('WP_ALLOW_MULTISITE', true)

    then inside wp-content i created blogs.dir and created wp-config.php as the config say’s todo.

    <?php
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'testdomain1.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    ?>

    Thats them all

    Moderator Dion Hulse

    (@dd32)

    Meta Developer

    You’re supposed to edit your wp-config.php file which exists in the root directory, and add the new defines (The chunk of code you’ve just pasted) into that existing file. Doing it how you’ve done, will result in that situation which you’ve run into.

    Thread Starter barkermn01

    (@barkermn01)

    Trimmed out random key defines due to back ticks

    <?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 https://codex.www.ads-software.com/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
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'wordpress_multiuser');
    
    /** MySQL database username */
    define('DB_USER', 'wordpress');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'password');
    
    /** 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', '');
    
    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    /**#@-*/
    
    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each a unique
     * prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix  = 'wp_';
    
    /**
     * WordPress Localized Language, defaults to English.
     *
     * Change this to localize WordPress. A corresponding MO file for the chosen
     * language must be installed to wp-content/languages. For example, install
     * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
     * language support.
     */
    define('WPLANG', '');
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', false);
    
    define('WP_ALLOW_MULTISITE', true);
    
    /* That's all, stop editing! Happy blogging. */

    Moderator Dion Hulse

    (@dd32)

    Meta Developer

    You can edit that post to remove the entire config file. But you simply need to replace:

    define('WP_ALLOW_MULTISITE', true);
    with

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'testdomain1.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Thread Starter barkermn01

    (@barkermn01)

    Thanks! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing The Network Admin link from dropdown’ is closed to new replies.