"An existing WordPress network was detected." in brand new installation
-
I’m trying to set up a local installation with multisites enabled. Here’s what i did:
1) Downloaded wordpress from http://wordpress.org/latest.zip
2) Created a new database
3) Unzipped the WP into a new directory
4) Created the wp-config file with proper DB settings
5) Finished WP installation
6) Logged into wp-admin (just for checking pourposes)
7) Added define(‘WP_ALLOW_MULTISITE’, true); in the end of wp-config
8) Re-logged on wp-admin
9) Created a network using the “Network setup” menu optionPasted this in the end of mu wp-config:
define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/foradogit/wordpress/'; define( 'DOMAIN_CURRENT_SITE', 'localhost' ); define( 'PATH_CURRENT_SITE', '/foradogit/wordpress/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
right below define(‘WP_ALLOW_MULTISITE’, true);
10) Replaced my htaccess content with theseRewriteEngine On RewriteBase /foradogit/wordpress/ RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L]
11) Logged out wp-admin
12) Logged into wp-admin
13) Gone to “Network setup” menu optionIt gives me this error: Warning: An existing WordPress network was detected. Where did I go wrong?
- The topic ‘"An existing WordPress network was detected." in brand new installation’ is closed to new replies.