• Resolved Nazar Serdyuk

    (@nazar-serdyuk)


    Hello! I have just installed WordPress Multisite and I need to relogin to make it work. But here comes the problem: I cannot relogin. When I enter my username and password (which are correct) and press login button it just reloads the login page. Help me please

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Nazar Serdyuk

    (@nazar-serdyuk)

    actually I have captured the problem more precisely: as soon as after installing wordpress multisite I add the following lines to wp-config.php

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘wpsingle.net’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    I immediately get the problem with login

    Thread Starter Nazar Serdyuk

    (@nazar-serdyuk)

    I tried all possible methods and they don’t work

    Here is what I have added to wp-config

    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘nazarserdyuk.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    Here is what I have in .htaccess

    # BEGIN WPSuperCache
    # END WPSuperCache

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    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]
    </IfModule>

    # END WordPress

    Help me please if you can

    Thread Starter Nazar Serdyuk

    (@nazar-serdyuk)

    Failed to set up a subdirectory network but it has worked out with subdomain network. This article has helped me: https://www.elegantthemes.com/blog/resources/the-complete-guide-to-creating-a-wordpress-multisite-installation

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fail to login to dashbord -> just reloads the login page’ is closed to new replies.