WordPress.org

Ready to get started?Download WordPress

Forums

No login possible after creating multisite? (6 posts)

  1. gfra
    Member
    Posted 4 years ago #

    Hi everyone!

    I'm trying to install a WP multisite on my (German) 1&1-server and run into all sort of trouble as soon as I change the .htaccess and the wp-config.php :-(

    I tried to choose subdirectory addresses (though it would be easier not touching the DNS thingie) and learned the hard way that it's just possible with a fresh, clean install without already imported articles. Okay, so I started with a fresh, clean install (as mfields described here). To make permalinks work on 1&1 I needed to change .htaccess to:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    Options -MultiViews

    After that I followed the multisite setup instructions, chose the subdirectories scheme, and copied the following into my .htaccess:

    RewriteEngine On
    RewriteBase /
    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).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Into wp-config.php I copied

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mydomain.de' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    and kept the

    define('WP_ALLOW_MULTISITE', true);

    part,too. Or do I have to remove that?

    Anyways: As soon as I log out and try to log in into the backend again, the system won't accept my password (or any new passwords that WP generates for me). I walked through the process numerous time - to no avail.

    I'd greatly appreciate any ideas how to solve this - thanks in advance, Gabi

  2. gfra
    Member
    Posted 4 years ago #

    Update: Here's the same problem with login and WP 3.0...

    I narrowed it down to the "network chunk" I added to wp-config.php - as soon as I put that in there's not login possible any more...

    Greetings from Germany - Gabi (who's probably the only person in the country right now who's NOT watching the soccer world cup semi finals but fiddling around with WP)

  3. (not watching soccer either here in eastern canada in the middle of a heat wave...)

    Ah,,, crap... 1and1? Yeah, I do know there's been issues before with them and MU. first of all, did you check with them to make sure they allow you using the multisite feature on your account level?

  4. gfra
    Member
    Posted 4 years ago #

    Hi, Andrea - thanx for your tireless support :-) Yes, I talked to 1&1 - I can activate and run a blog-network, I just can't use subdomains and should stick to subdirectories (what I tried to do anyway)...

    The problem is gone, by the way - I can log into the backend just fine and get no constant reloads of the log-in page anymore. I have no idea, why, though - I did nothing with the installation overnight, made sure numerous times that I uploaded the files in automatic mode, checked for empty spaces oder carriage returns within them, cleared brwoser chaches and cookies... Yesterday nothing I did changed anything, this morning everything is running smoothly - sometimes I hate computers ;-)

    Greetings to Canada from mildly temperated Germany - we've got only 32 degrees! -Gabi

  5. Are they another one of those hosts like godaddy where any htaccess changes takes hours to propogate? Man, crazy-making...

  6. mkormendy
    Member
    Posted 4 years ago #

    Clear your cache on your browser out.
    As well clear your cookies too.

    This worked for me!

Topic Closed

This topic has been closed to new replies.

About this Topic