我已经在所有网站上安装了ssl证书。这是一个漫长而忙碌的过程,涉及重定向和所有这些内容。
网站//domain.com/about.html
仍出现在Google搜索中,尚未重定向到https版本。我想可能要花一些时间。但是,单击时将网站//domain.com/about.html
重定向到//domain.com/index.php
,所有其他URL都重定向到/index.php
。可能是什么问题?以下是.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
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domainn.com/$1 [R=301,L]