我忘记了我的 WordPress 网站密码。我正在按照 https://codex.wordpress.org/Resetting_Your_Password 重置密码。我可以在 phpMyadmin 中更改 user_pass,但是当我在 wp-admin url 上输入用户名和密码时,它给出 ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
并且在 phpMyadmin 中 user_pass 被更改。
最佳答案
define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
请您在 wp-config.php
文件中添加上述内容吗?
关于php - 无法通过 phpMyadmin 重置 wp-admin 密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41733241/