質問編集履歴
1
コードを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -67,3 +67,61 @@
|
|
67
67
|
|
68
68
|
|
69
69
|
良いお知恵を拝借できないものかと投稿させていただきます。よろしくお願いします。
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
---
|
74
|
+
|
75
|
+
追記します。
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
.htaccessにはワードプレスのmod_rewriteも記載されており、
|
80
|
+
|
81
|
+
これがもしかしたら邪魔しているのだろうか・・・とも、思いましたので、念のため追記いたします・・・。
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
```ここに言語を入力
|
86
|
+
|
87
|
+
<IfModule mod_rewrite.c>
|
88
|
+
|
89
|
+
RewriteEngine on
|
90
|
+
|
91
|
+
RewriteCond %{HTTPS} off
|
92
|
+
|
93
|
+
RewriteCond %{REQUEST_URI} !(^/sample/)
|
94
|
+
|
95
|
+
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
96
|
+
|
97
|
+
RewriteCond %{HTTPS} on
|
98
|
+
|
99
|
+
RewriteCond %{REQUEST_URI} (^/sample/)
|
100
|
+
|
101
|
+
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
102
|
+
|
103
|
+
</IfModule>
|
104
|
+
|
105
|
+
# BEGIN WordPress
|
106
|
+
|
107
|
+
<IfModule mod_rewrite.c>
|
108
|
+
|
109
|
+
RewriteEngine On
|
110
|
+
|
111
|
+
RewriteBase /
|
112
|
+
|
113
|
+
RewriteRule ^index\.php$ - [L]
|
114
|
+
|
115
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
116
|
+
|
117
|
+
RewriteCond %{REQUEST_FILENAME} !-d
|
118
|
+
|
119
|
+
RewriteRule . /index.php [L]
|
120
|
+
|
121
|
+
</IfModule>
|
122
|
+
|
123
|
+
# END WordPress
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
```
|