Support » Fixing WordPress » adding www to site address (URL) breaks cookies

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

    Add following codes at the end of wp-config.php file

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');

    instead of only

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

    Thanks Mrinal,

    Thanks for your quick response.
    As suggested, I added the above code to wp-admin.
    Cleared all cookies from my browser, logged in as admin, but still same problem. (no admin bar)

    Hello All,
    I am raising this issue again as I was not able to resolve it and this is a standard problem with all my WP sites.

    Please Help !!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘adding www to site address (URL) breaks cookies’ is closed to new replies.