登录WP提示需启用“cookies”

今天,经过了一番折腾,发现我的后台居然登录不上了,这就很尴尬了,那么既然折腾出了问题,就在给他折腾好吧。

  1. 我检查了浏览器的cookies,并确定已经启用。
  2. 更换了其他浏览器,也并没有成功解决。
  3. 回想了一下,折腾过哪些东西,最后把注意力放在了wp-config.php。

原因是我在wp-config.php里加了此段代码:define('COOKIE_DOMAIN', 'https://www.qicaiyun.top');

删除了该代码后,即可正常的登录后台了,以上是登录wordpress提示需启用“cookies”的解决方法之一。

 

登录WP提示需启用“cookies”

下面是我收集的其他解决方法:

1:删除 wp-config.php文件中,“<?php”前面的空行 已经最下面的空行

2:使用服务器上,或者之前的备份,直接还原。

3:删除 除了“wp-conter”文件的其他所有文件,重新安装wordpress,不过此方法还不如方法“2”。

 


七彩云博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:登录WP提示需启用“cookies”

您必须 登录 才能发表评论!

(11)个小伙伴在吐槽
  1. Samhsa Treatment http://aaa-rehab.com Drug Rehab Centers Near Me Outpatient Alcohol Rehab Near Me https://www.obsidianportal.com/profile/brehab
    Local Alcohol Treatment Centers2020-04-01 08:38 Windows 10 | Chrome 66.0.3359.170
  2. Mens Rehab http://aaa-rehab.com Drug Rehab Centers Near Me Inpatient Rehab Facilities Near Me https://juegos.elcomercio.es/profile/30690/brehab.html
    Private Rehab Centers2020-03-31 16:53 Windows 8.1 | Chrome 65.0.3325.146
  3. Mens Rehab http://aaa-rehab.com Drug Rehab Centers Near Me Inpatient Rehab Facilities Near Me https://juegos.elcomercio.es/profile/30690/brehab.html
    Private Rehab Centers2020-03-31 16:52 Windows 8.1 | Chrome 65.0.3325.146
  4. Drug And Alcohol Rehabilitation http://aaa-rehab.com Drug Rehab Drug Alcohol Rehab Centers http://www.nagios.cz/profile.php?id=21494
    Residential Drug Rehab Near Me2020-03-30 23:51 Windows 8.1 | Chrome 66.0.3359.181
  5. Drug And Alcohol Rehabilitation http://aaa-rehab.com Drug Rehab Drug Alcohol Rehab Centers http://www.nagios.cz/profile.php?id=21494
    Residential Drug Rehab Near Me2020-03-30 23:50 Windows 8.1 | Chrome 66.0.3359.181
  6. Drug And Alcohol Rehabilitation http://aaa-rehab.com Drug Rehab Drug Alcohol Rehab Centers http://www.nagios.cz/profile.php?id=21494
    Residential Drug Rehab Near Me2020-03-30 23:50 Windows 8.1 | Chrome 66.0.3359.181
  7. Drug And Alcohol Rehabilitation http://aaa-rehab.com Drug Rehab Drug Alcohol Rehab Centers http://www.nagios.cz/profile.php?id=21494
    Residential Drug Rehab Near Me2020-03-30 23:49 Windows 8.1 | Chrome 66.0.3359.181
  8. Opioid Abuse Disorder http://aaa-rehab.com Drug Rehab Centers Near Me Alcohol Outpatient Near Me https://enterprisersproject.com/user/aMike
    Medicaid Substance Abuse Treatment2020-03-30 08:35 Windows 7 | Chrome 68.0.3440.84
  9. Iop Drug Treatment http://aaa-rehab.com Drug Rehab Centers http://aaa-rehab.com Drug Rehab Centers Near Me Free http://aaa-rehab.com
    12 Step Rehab2020-03-26 16:03 Windows 10 | Chrome 67.0.3396.87
  10. Gгeat site you hazve ggot heгe.. It's hɑrd to find hiɡh-quality writing lіke yurs nowadays. І truly aopreciate people likke you! Take care!!
    ferienwohnung potsdam mit frühstück2019-06-13 11:06 Mac OS X | Chrome 59.0.3071.115
  11. This is a good tip particularly to those new to the blogosphere.Simple but very precise information… Thanks for sharing this one.A must read post!
    download2019-06-10 09:12 Mac OS X | Chrome 66.0.3359.181