Wordpress admin login cookies blocked error after moving servers

后端 未结 15 1782
被撕碎了的回忆
被撕碎了的回忆 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:40

    I was getting this same error.

    I had hard coded the Home and SiteURL in wp-config.php for a brand new website - no plugins even installed.

    The problem: I had a space at the end of the URL.

    define('WP_HOME','http://100.000.000.01/~acctname/wp ');
    define('WP_SITEURL','http://100.000.000.01/~acctname/wp ');
    

    Removing the space fixed this error.

    define('WP_HOME','http://100.000.000.01/~acctname/wp');
    define('WP_SITEURL','http://100.000.000.01/~acctname/wp');
    
    0 讨论(0)
  • 2020-12-24 14:40

    I had the same problem with very similar circumstances and spec.

    Eventually after trying all sorts of different solutions suggested online, I just renamed my active theme via FTP and then was able to login to the dashboard, I renamed my theme back and everything worked, I've no idea why but it may help somebody fix issues they're having.

    0 讨论(0)
  • 2020-12-24 14:41

    I have found very good solution of this issue

    There are possible following solutions for this error

    1. Coding Error
    2. Unnecessary Spaces in Code
    3. Caching & Security Plugin

    Check this article: https://www.scratchcode.io/cookies-are-blocked-or-not-supported-by-your-browser/

    0 讨论(0)
提交回复
热议问题