The MU forums have moved to WordPress.org

Initial admin login to Wordpress MU 2.8.4a failed (7 posts)

  1. xiudog
    Member
    Posted 14 years ago #

    I installed wordpress mu on my server in a sub directory (e.g., http://www.xxx.edu/blogs/). The installation was sucessful. But when i try to login with admin and the system-generated password, it just takes me back to the login screen as if i never entered anything in. same if i try forgot password.

    When I tried to point to the root installation folder at http://www.xxx.edu/blogs/, I got the following error using Firefox:

    The page isn't redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    * This problem can sometimes be caused by disabling or refusing to accept cookies.

    For your information, I am running on a linux server with:
    Linux: 2.6.9-34
    Apache 2.0
    php 4.3.9
    MySQL 4.1.20

    I am NOT new to wordpress. I am running a couple of single versions of Wordpress. I am trying to consolidate by using the Wordpress MU version.

    To install Wordpress MU, I've deleted and reinstalled multiple times but no success. I've researched the Wordpress MU forum, but did not find any solutions. There are similar questions in the forum that are not answered. Could you please point me to the right direction? Thanks so much for your help. Regards, --Lisa

  2. andrea_r
    Moderator
    Posted 14 years ago #

    Don't put www in the front when you install it. To see if that really is the case (because I can't check), look at the address bar while it's trying to log you in. you may see it switching back and forth between the non & www versions.

  3. xiudog
    Member
    Posted 14 years ago #

    Thanks for your reply. I did NOT include "www" when I installed. However, when I tried to login to http://xxx.edu/blogs/wp-login.php, it automatically redirects me to http://www.xxx.edu/blogs/wp-login.php.

    Below is the contents of my .htaccess file:

    #Set "display_errors" to on or off
    php_flag register_globals off
    php_flag display_errors on

    RewriteEngine On
    RewriteBase /blogs/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    #Change the maximum execution time limit of PHP scripts
    php_value max_execution_time 120

    #Change memory limit of executing PHP scripts
    php_value memory_limit "64M"

    Could you please point me to the right direction? Thanks so much for your help.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    Then your server is set up to turn all requests into WWW ones. MU strips them out. Thus the looping.

    it's not your htaccess file.

    Go into your hosting account, and either look for something that sets all requests to go to www, or contact your webhost support.

  5. xiudog
    Member
    Posted 14 years ago #

    I really appreciate your response. After reading your message, I followed the instruction from http://manojkumar.org/install-wordpress-mu-with-www/ and made changes in the main database so all references to domain point to http://www.domain.edu (instead of domain.edu). However, the same problem exists.

    I later talked to our server administrator. The way he set up the web server is very unusual. The name of the server on which I installed WPMU is different from the actual domain name users use to access the pages. To be more specific, the main server is accessed by the public via URL called http://www.institution.edu. (The real name of that server is different and is called jonny.institution.edu.) He set up another server and named it jonny.institution.edu and redirects all calls from jonny.institution.edu to http://www.institution.edu.

    I suspect that arrangement might have created the infinite login loop in my case. What do you suggest that I do to cope with this setup and login problem? I really appreciate your help. Regards, --Lisa

  6. ndrwld
    Member
    Posted 14 years ago #

    Have you tried to clear cookies?

  7. patsar
    Member
    Posted 14 years ago #

    I follow andrea_r advice on a site that was configured to add WWW in all circumstances and the problem was solved. Thanks!

About this Topic