Wordpress admin login cookies blocked error after moving servers

后端 未结 15 1787
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 14:13

Background: had a working Wordpress 3.7 site at olddomain.com.

I moved it to newdomain.com successfully, and in the process added this to wp-config:

         


        
15条回答
  •  醉话见心
    2020-12-24 14:37

    add to wp-config.php

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

    original source http://wordpress.org/support/topic/cookie-error-site-not-letting-me-log-in

提交回复
热议问题