1
私は私のウェブサイトのための最高の書き換えルールを見つける必要がある...最高のhtaccessマルチ書き換えルール
私は2つのドメインexample.itとexample.comを持っていますが、私はexample.comの下でSSLを持っています。私は必要なもの
:各ユーザーの要求は、https://www.example.com/にリダイレクトする必要があります...
は今、私はこのルールを使用しています:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?example\.it$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
が、私の桁http://example.comはそのhttps://example.comに私をリダイレクトする場合を、wwwではない。
Avoid landing page redirects for the following chain of redirected URLs.
http://example.it/
http://www.example.com/
https://www.example.com/
どのように私は解決することができます:私はGTMetrixテストを行う場合
はまた、私はリダイレクト避けるランディングページの下のF値を得ましたか。ありがとう。