• I just added define(‘WP_ALLOW_MULTISITE’, true); to the wp-config.php file in the wordpress directory, refreshed the page and relogged in. The Network options are not added to the tools menu. I have verified the edited wp-config.php file is in the wordpress directory and verified the entry is above the stop line. Still no multisite/network options. The site still functions properly as a single blog site.

    http://www.davekemper.com

    Any suggestions how to troubleshoot would be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you please send the us the code of wp-config file.

    Thanks

    Thread Starter DaveofEcuador

    (@daveofecuador)

    I read that that in General Settings that for multisite that the WordPress site (URL) and Site Address (URL) needed to be the same. since this would leave the folder in the path from the domain name I decided to uninstall, remove all of the excess files, and reinstall in the public folder. I had to change the table prefix from wp_ to wp1_ since it was telling me their was already an install even though there were no tables in the database.

    After the install, added the required line to the wp_config.php, uploaded, verified that was the file on the server, logged in still no network option in the tools menu.

    The following is a copy of my wp_config.php file with the security information removed. Any help figuring this out will be appreciated.

    ?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
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'removed');
    
    /** MySQL database username */
    define('DB_USER', 'removed');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'removed');
    
    /** MySQL hostname */
    define('DB_HOST', 'removed');
    
    /** 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.wordpress.org/secret-key/1.1/salt/ WordPress.org 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
     */
    define('AUTH_KEY',         'removed');
    define('SECURE_AUTH_KEY',  'removed');
    define('LOGGED_IN_KEY',    'removed');
    define('NONCE_KEY',        'removed');
    define('AUTH_SALT',        'removed');
    define('SECURE_AUTH_SALT', 'removed');
    define('LOGGED_IN_SALT',   'removed');
    define('NONCE_SALT',       'removed');
    
    /**#@-*/
    
    /**
     * 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  = 'wp1_';
    
    /**
     * 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. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

    Hi,

    try putting this:
    define( 'WP_ALLOW_MULTISITE', true );
    instead of
    define(‘WP_ALLOW_MULTISITE’, true);

    I see you have used ‘’ instead of ”

    I hope this will help.

    Thread Starter DaveofEcuador

    (@daveofecuador)

    Thank you Anshu!

    I didn’t even notice the different apostrophes used. I intentionally copy and pasted from a web page with instructions so I would not mis-type, not realizing the article had this error.

    I changed the apostrophes and now The Network option shows up in the Tools menu.

    Thread Starter DaveofEcuador

    (@daveofecuador)

    Thank you Anshu!

    I didn’t even notice the different apostrophes used. I intentionally copy and pasted from a web page with instructions so I would not mis-type, not realizing the article had this error.

    I changed the apostrophes and now The Network option shows up in the Tools menu.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Added multisite in wp-config.php doesn't add network.’ is closed to new replies.