The MU forums have moved to WordPress.org

admin login loop redirect problem (3 posts)

  1. DanKline7
    Member
    Posted 15 years ago #

    Hello,

    I installed a 2.6.1 mu blog on new unix server by IP address.

    Then after it was working fine I pointed the dns to the unix box and tried to change over the blog from IP to domain. Everything seemed to work fine until I tried to login to the admin console and I get a loop.

    I browse to http://forextradersdaily.com/wp-admin/

    ...and it takes me immediately to

    http://forextradersdaily.com/wp-login.php?redirect_to=http%3A%2F%2Fforextradersdaily.com%2Fwp-admin%2F

    When I login with the correct username and password it simply redirects to the same link with no error.

    If I use bad password for the admin it tells me incorrect password but (interestingly) tells me

    "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

    However cookies are enabled and I verified the setting.

    What is wrong? What other info does anyone need to help me solve this?

    Dan

  2. DanKline7
    Member
    Posted 15 years ago #

    Hey,

    I solved this. It was an IP to domain transfer issue.

    My wp-config.php file still had the IP address in the

    define('DOMAIN_CURRENT_SITE', 'xxxxx.com' );

    entry. I changed the IP address to .com and that fixed.

    Dan

  3. richtelford
    Member
    Posted 14 years ago #

    There seems to a cookie problem with the core WordPress files that no-one has corrected yet. Add this to the top of wp-config.php:

    @define('ADMIN_COOKIE_PATH', '/');

    Works for me.

    Rich

About this Topic

  • Started 15 years ago by DanKline7
  • Latest reply from richtelford