質問編集履歴

2

内容追記

2019/06/21 10:10

投稿

matt_922w
matt_922w

スコア13

test CHANGED
File without changes
test CHANGED
File without changes

1

htaccesssの情報の追加

2019/06/21 10:10

投稿

matt_922w
matt_922w

スコア13

test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,19 @@
63
63
  https://www.hoge.com
64
64
 
65
65
  に統一するための具体的な方法がしりたいということです。お願いします。
66
+
67
+
68
+
69
+ 追記です(htaccessの情報)
70
+
71
+ <IfModule mod_deflate.c>
72
+
73
+ RewriteCond %{HTTPS} off
74
+
75
+ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
76
+
77
+ RewriteCond %{HTTP_HOST} ^(hoge.com)(:80)? [NC]
78
+
79
+ RewriteRule ^(.*) https://www.hoge.com/$1 [R=301,L]
80
+
81
+ </IfModule>