• Hello,

    My config : PHP 8.1 / MySQL 5.7 / WordPress 6.2 / Theme Generate Press /
    Extensions : armember premium, newsletter premium, wordfence, wp-fasted-cache premium / using CDN

    Error : I get a “cookies
    are blocked or not recognized by your browser. You need to
    enable cookies to use WordPress.”

    I can’t go inside the wp-admin, I try all advices that I found on the net.

    • disable all plugin and one by one, go back to wordpress theme, restore a new wordpress 6.2 wp-admin folder, restor new wp-login file, basic htaccess of wordpress, basic wp-config… return to previous configuration each time not working same problem !

    I’m using the Wordfence security plugin, which sends me an e-mail
    a mail confirming an Admin connection to the site, but as I have a problem
    redirection to the WordPress wp-admin interface, I’m stuck on the login page.

    On PhpMyAdmin I show the logged in information for my IP adress, everything seems to be fine instead of this lock at wp-login…wp-admin%2F&reauth=1

    I check and I’m the only one administrator on the website, website working very fine so I hope not hack.

    I contact some plugins supports but they told me if disable by rename folder not working the problem is not on our plugin…

    If you can give me some ideas or advices, many thanks !

    • This topic was modified 1 year, 3 months ago by cipg.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check for Issues with SSL: If your site uses SSL, ensure that it’s configured correctly. You might also try adding the following lines to your wp-config.php file:

    define(‘FORCE_SSL_ADMIN’, true);
    if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
    $_SERVER[‘HTTPS’]=’on’;

    Thread Starter cipg

    (@cipg)

    Hello mady1984,

    Thanks for your message, I checked SSL on my website and all is correct.

    I already have the : define(‘FORCE_SSL_ADMIN’, true);

    When I add your code into my wp-config (this part : if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
    $_SERVER[‘HTTPS’]=’on’; => I get a Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 174241828 Varnish cache server.

    So not working.

    I also try to replace my salt keys : same problem still locked out.

    If someone has ideas…

    Thread Starter cipg

    (@cipg)

    Hello,

    I add this code into phpconfig : $_SERVER[‘HTTPS’]=’on’;

    I create another admin user using phpadmin but problem still same…

    • This reply was modified 1 year, 3 months ago by cipg.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect loop wp-login unable to reach wp-admin’ is closed to new replies.