0
承認済みの123-Regを介してSSL証明書を発行しました。現在、123-Regは、.htaccessファイルをすべて再ルーティングするために更新する必要があるとアドバイスしましたHTTPリクエストをhttpsに送信します。ウェブサイトをhttpsにリダイレクトする
問題は、.htaccessを更新するたびにウェブサイトがダウンすることです。
周りを見ると、私が私の.htaccessファイルの先頭に以下を掲示すべきであると思われる:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
だから、私の現在の.htaccessファイルは次のようになります。
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 1 day"
ExpiresByType text/html "access 1 day"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 30 minutes"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##
#Alternate default index page
DirectoryIndex index.php
I上記のコードで試してみましたが、独自の書き換えコードを使ってみましたが、役に立たないのです。私は、特に.htaccessを使用する複雑さではないことに注意してください!
私は(IEエッジに)受けていますエラーメッセージは次のとおりです。
Hmmm... cannot reach this page
Try this
Make sure that you’ve got the right web address: https://www.pixel8games.com
Search for "https://www.pixel8games.com" on Bing
Refresh the page
Details
There were too many redirections.
Error Code: INET_E_REDIRECT_FAILED
リダイレクトコードは、.htaccessファイルでないときに、私は手動でも問題なく、URLでHTTPSアドレスを入力することができます。
誰でも助けることができたら、私は最も感謝しています。 Dan。
こんにちは、残念ながらこれは私が持っているすべてのインスタンス(IEエッジ、クロムデスクトップ&モバイル、オペラおよびFirefox)を支援しません。彼らはサイトが何度もリダイレクトしていると述べています。 –
ブラウザのキャッシュをクリアしましたか? –
アップデートを見て、最初にブラウザのキャッシュをクリアしてテストしてください –