Support » Plugin: All In One WP Security & Firewall » Login Cookie Error – Other tickets don’t help

  • Thank you in advance for any assistance!

    I get the login cookie error one-time on login – every time – when the “Rename Login Page” feature is activated. After attempting login once, it allows me to login a second time right away. I would like to avoid this unnecessary and pointless error altogether, as it happens every time I have to login. I have to attempt login twice on every site where the plugin and feature is activated, which makes no sense.

    “Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

    How can I get rid of this error with this feature that claims to not even require cookies?

    I’m not using the feature “Cookie based brute force prevention” – only the rename login page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Apologies for the delay

    First, make sure your server is not blocking or filtering out the cookies.

    Also try adding below line to your wp-config.php before /* That’s all, stop editing!…*/

    define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’] );

    /* That’s all, stop editing! Happy blogging. */

    What else have you tried (just so I don’t rehash old ground)?

    Thread Starter Brandon Ernst

    (@brandonfire)

    @vupdraft thanks for the reply!

    What mechanisms on the server side would control cookies? We have root access on a VPS, but would prefer to know how to handle this if only cPanel access is given for some clients.

    Also, this issue only seems to happen on some sites. E.g. – I installed AIOWPS on around 50 sites recently, importing all the same preconfigured settings. Only about 5-10 of them have this requirement to attempt logging in twice to successfully get in, showing the cookie error the first time around.

    I don’t think it actually has to do with cookies…I’m able to login successfully when attempting the second time without any changes on the server side.

    Any idea specifically why it would not allow the first login attempt and then allow the second? I feel like that is some bug that could be fixed, as there aren’t any configuration settings changed in between login attempts.

    Thanks again for your insight.

    Hi,

    Sincere apologies for the delay,
    If you are using a caching plugin you should exempt the caching of your hidden login page URL.
    Do you have all of the same all in one settings on all of your sites.
    What about the settings in any caching plugins?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.