• I tried adding to wp-config.php:

    define(‘USER_COOKIE’, ‘[custom_name]’.COOKIEHASH );
    define(‘PASS_COOKIE’, ‘[custom_name]’ . COOKIEHASH );
    define(‘AUTH_COOKIE’, ‘[custom_name]’ . COOKIEHASH );
    define(‘SECURE_AUTH_COOKIE’, ‘[custom_name]’ . COOKIEHASH );
    define(‘LOGGED_IN_COOKIE’, ‘[custom_name]’ . COOKIEHASH );
    define(‘TEST_COOKIE’, ‘[custom_name]’);

    But it’s not working.

    Any idea what the issue could be?

    Thank you all in advance.

    • This topic was modified 5 years, 5 months ago by dloprodz.
    • This topic was modified 5 years, 5 months ago by dloprodz.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t change cookie names’ is closed to new replies.