Cannot login after adding Create Network Script in wp-config.php
-
***> Tried using both 127.0.0.1 and 192.168.1.1 (mapped as //computername/).
***> I am trying to use for development purposes. I presume the Network Setup in Administration Panel automatically detects sub-domain and path network setup needs.
***>> Cannot login after trying to create network/ multisite from Administration > Network Set Up.1] I have Enabled the Network Install >> Can see the Network Setup option in the administration panel
2] Clicked on Network Setup, it created .htaccess and gave me scripts to add to wp-config.php and .htaccess
3] It asked me to login after adding the scripts >> WordPress wont login after that and not does it show the login page.
4] When trying to do Netowrk Setup again it gives me a warning “Warning: An existing WordPress network was detected.”.** I have not added a new database myself. Presume it is added by the Network Setup option in the Administration Panel.
——————————————–
QUESTIONS
——————————————–*> Please let me know where I am going wrong. There are setting for Database already.
*> Do I have to create a new database manually again
*> If I have to create a new database manually, and add the settings to wp-config.php; what all tables (if at all) do I have to add them manually or will they be added automatically?——————————————-
WHAT I HAVE ADDED
——————————————-I have attached the scripts that I am getting and adding
<<WP-CONFIG.PHP>>
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘gb-pc’);
define(‘PATH_CURRENT_SITE’, ‘/wordpress/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);<<.HTACCESS>>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ – [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).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
- The topic ‘Cannot login after adding Create Network Script in wp-config.php’ is closed to new replies.