Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wordpress 我在mmy网站roundabouttech.com上做过ssl。但是_Wordpress_Http_Ssl_Https - Fatal编程技术网

Wordpress 我在mmy网站roundabouttech.com上做过ssl。但是

Wordpress 我在mmy网站roundabouttech.com上做过ssl。但是,wordpress,http,ssl,https,Wordpress,Http,Ssl,Https,我在mmy网站roundabouttech.com上做过ssl。但问题是,当我键入complete“”时,它会以https打开。但当我只键入“roundabouttech.com”时,默认情况下它采用http。我怎样才能解决这个问题。我的网站在wordpress中。试试这个htaccess代码 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.ph

我在mmy网站roundabouttech.com上做过ssl。但问题是,当我键入complete“”时,它会以https打开。但当我只键入“roundabouttech.com”时,默认情况下它采用http。我怎样才能解决这个问题。我的网站在wordpress中。

试试这个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]
# Rewrite HTTP to HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]
</IfModule>
# END WordPress
#开始WordPress
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#将HTTP重写为HTTPS
重写cond%{HTTPS}=在…上
重写规则^(.*)https://%{SERVER_NAME}/$1[R,L]
#结束WordPress

您可以发布您的htaccess代码吗?在这里公开发布是否安全。是的。您可以在此发布htaccess代码。RewriteBase/RewriteRule^index\.php$-[L]RewriteCond%{REQUEST_FILENAME}上的RewriteEngine-f RewriteCond%{REQUEST_FILENAME}-重写规则/index.php[L]