• 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=1

    i 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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mariantaiwan

    (@mariantaiwan)

    in addition, i get this error message when i try to click any of my links on the website.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Thread Starter mariantaiwan

    (@mariantaiwan)

    my website runs fine if i don’t do the multisite function, what’s the best solution to host 3 wordpress sites on a single web space besides this?

    Thread Starter mariantaiwan

    (@mariantaiwan)

    now when i do https://www.marian.com.tw/wp-admin it redirect the URL to
    https://www.marian.com.tw//www.marian.com.tw/wp-admin/

    how can i fix this?

    This was the right behaviour:

    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=1

    What did you do in the meantime?

    You only need WP Network if your 3 websites will be developed using WP. Otherwise just use subdomains with your hosting to run separate websites.

    State with URLs how you see the public accessing your 3 websites.

    Confirm server errors caused by .htaccess by temporarily renaming it.

    WP Network Admin dashboard->Settings->Network Setup actually recommends RewriteBase //www.marian.com.tw/ in .htaccess ??
    try RewriteBase /
    And Settings->Network Setup actually recommends
    define('PATH_CURRENT_SITE', '//www.marian.com.tw/'); in wp-config.php ??
    try define(‘PATH_CURRENT_SITE’, ‘/’);

    If you post some path info it might be helpful, as in the
    webserver’s document root folder for https://www.marian.com.tw/
    Is it home/marianco/public_html?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    This is what’s wrong: RewriteBase //www.marian.com.tw/

    Remove it and make it JUST RewriteBase /

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Creating a Network problem please help.’ is closed to new replies.