Creating a Network problem please help.
-
i have purchased a domain and a webspace, i want to host 3 different websites with one domain, by seperating them into different subfolders.
i looked up on the Codex and found “Create a Network” tutorial. i followed it and edited wp-config and .htaccess as instructed, but now i can’t log into wp-admin.
when i type in https://www.marian.com.tw/wp-admin it redirects to this werid URL
https://www.marian.com.tw/wp-login.php?redirect_to=http%3A%2F%2Fwww.marian.com.tw%2Fwp-admin%2F&reauth=1i think the .htaccess is incorrect. how may i fix this?
the .htaccess i have right now is
‘RewriteEngine On
RewriteBase //www.marian.com.tw/
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).*) home/marianco/public_html/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ home/marianco/public_html/$2 [L]
RewriteRule . index.php [L]’and for the wp-config i added
‘/* Multisite */
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘www.marian.com.tw’);
define(‘PATH_CURRENT_SITE’, ‘//www.marian.com.tw/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);’i can’t log into my wp-admin no more. what’s the problem?
- The topic ‘Creating a Network problem please help.’ is closed to new replies.