【问题标题】:Wordpress error "You do not have sufficient permissions to access this page" from http-https来自 http-https 的 Wordpress 错误“您没有足够的权限访问此页面”
【发布时间】:2015-02-26 16:40:42
【问题描述】:

我正在使用 wordpress 4.1,我从 http 更改为 https,然后当我尝试登录时,我收到一个错误,

您没有足够的权限访问此页面。

那么谁能帮我解决这个问题。

【问题讨论】:

标签: php wordpress


【解决方案1】:

我也有这个问题,

备份您的 .htaccess 文件,并使用它

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

然后,在 wp-config 中删除 https 回到 http

define('WP_HOME','http://www.example.com');
define('WP_SITEURL','http://www.example.com');

这应该会让你回到仪表板,然后你可以重新开始工作。

【讨论】:

    猜你喜欢
    • 2016-06-05
    • 1970-01-01
    • 2015-07-18
    • 1970-01-01
    • 2016-02-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多