您可能需要更改您的“WordPress地址(URL)”和“网站地址(URL)”,以便在您的WordPress设置页面中的以下位置包含“https”而不是“http”:Settings -> General Settings
如果这不能解决问题,请尝试使用“真正简单的SSL”插件:https://en-gb.wordpress.org/plugins/really-simple-ssl/
Update
查看您的网站后
.htaccess
文件,我认为问题是由以下几行引起的:
RewriteCond %{HTTP_HOST} boconlineblog\\.co\\.uk [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ boconlineblog.co.uk/$1 [R,L]
尝试删除这些行,看看这是否解决了问题。
Update 2
尝试禁用Really Simply SSL插件并从
.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
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php71” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit`