Wordpress 我在mmy网站roundabouttech.com上做过ssl。但是
我在mmy网站roundabouttech.com上做过ssl。但问题是,当我键入complete“”时,它会以https打开。但当我只键入“roundabouttech.com”时,默认情况下它采用http。我怎样才能解决这个问题。我的网站在wordpress中。试试这个htaccess代码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
# 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]