質問編集履歴
3
本文更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -268,12 +268,14 @@
|
|
268
268
|
|
269
269
|
|
270
270
|
|
271
|
+
``` robots.txt
|
272
|
+
|
273
|
+
User-agent: *
|
274
|
+
|
275
|
+
Disallow: /wp-admin/
|
276
|
+
|
277
|
+
Allow: /wp-admin/admin-ajax.php
|
278
|
+
|
279
|
+
|
280
|
+
|
271
281
|
```
|
272
|
-
|
273
|
-
User-agent: *
|
274
|
-
|
275
|
-
Disallow: /wp-admin/
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
```
|
2
内容の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,9 +10,13 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
+
- 行ったこと・現状
|
14
|
+
|
13
|
-
.htaccess
|
15
|
+
.htaccessは下記に記載。
|
14
|
-
|
16
|
+
|
15
|
-
プラグインを停止
|
17
|
+
・プラグインを停止
|
18
|
+
|
19
|
+
・robots.txtの変更
|
16
20
|
|
17
21
|
|
18
22
|
|
@@ -23,3 +27,253 @@
|
|
23
27
|
|
24
28
|
|
25
29
|
どうかご教授ください。
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
``` .htaccess
|
34
|
+
|
35
|
+
# BEGIN WordPress
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
<IfModule mod_rewrite.c>
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RewriteEngine On
|
44
|
+
|
45
|
+
RewriteBase /
|
46
|
+
|
47
|
+
RewriteRule ^index\.php$ - [L]
|
48
|
+
|
49
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
50
|
+
|
51
|
+
RewriteCond %{REQUEST_FILENAME} !-d
|
52
|
+
|
53
|
+
RewriteRule . /index.php [L]
|
54
|
+
|
55
|
+
</IfModule>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
# MULTI BLOG
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
# END WordPress
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# BEGIN Lolipop [ http://lolipop.jp/manual/blog/wp-htaccess/ ]
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<Files wp-login.php>
|
74
|
+
|
75
|
+
ErrorDocument 403 /lolipop_service_documents/wp-login-deny.html
|
76
|
+
|
77
|
+
Order deny,allow
|
78
|
+
|
79
|
+
Allow from all
|
80
|
+
|
81
|
+
</Files>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
# END Lolipop
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
# ETags(Configure entity tags) を無視する設定
|
92
|
+
|
93
|
+
<IfModule mod_headers.c>
|
94
|
+
|
95
|
+
Header unset ETag
|
96
|
+
|
97
|
+
</IfModule>
|
98
|
+
|
99
|
+
FileETag None
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
# Enable Keep-Alive を設定
|
104
|
+
|
105
|
+
<IfModule mod_headers.c>
|
106
|
+
|
107
|
+
Header set Connection keep-alive
|
108
|
+
|
109
|
+
</IfModule>
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
# MIME Type 追加
|
114
|
+
|
115
|
+
<IfModule mime_module>
|
116
|
+
|
117
|
+
AddType image/x-icon .ico
|
118
|
+
|
119
|
+
AddType image/svg+xml .svg
|
120
|
+
|
121
|
+
AddType application/x-font-ttf .ttf
|
122
|
+
|
123
|
+
AddType application/x-font-woff .woff
|
124
|
+
|
125
|
+
AddType application/x-font-opentype .otf
|
126
|
+
|
127
|
+
AddType application/vnd.ms-fontobject .eot
|
128
|
+
|
129
|
+
</IfModule>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
# プロクシキャッシュの設定(画像とフォントをキャッシュ)
|
134
|
+
|
135
|
+
<IfModule mod_headers.c>
|
136
|
+
|
137
|
+
<FilesMatch "\.(ico|jpe?g|png|gif|svg|swf|pdf|ttf|woff|otf|eot)$">
|
138
|
+
|
139
|
+
Header set Cache-Control "max-age=604800, public"
|
140
|
+
|
141
|
+
</FilesMatch>
|
142
|
+
|
143
|
+
</IfModule>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
# ブラウザキャッシュの設定
|
148
|
+
|
149
|
+
<IfModule mod_headers.c>
|
150
|
+
|
151
|
+
<IfModule mod_expires.c>
|
152
|
+
|
153
|
+
ExpiresActive On
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
# キャッシュ初期化(1秒に設定)
|
158
|
+
|
159
|
+
ExpiresDefault "access plus 1 seconds"
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
# MIME Type ごとの設定
|
164
|
+
|
165
|
+
ExpiresByType text/css "access plus 1 weeks"
|
166
|
+
|
167
|
+
ExpiresByType text/js "access plus 1 weeks"
|
168
|
+
|
169
|
+
ExpiresByType text/javascript "access plus 1 weeks"
|
170
|
+
|
171
|
+
ExpiresByType image/gif "access plus 1 weeks"
|
172
|
+
|
173
|
+
ExpiresByType image/jpeg "access plus 1 weeks"
|
174
|
+
|
175
|
+
ExpiresByType image/png "access plus 1 weeks"
|
176
|
+
|
177
|
+
ExpiresByType image/svg+xml "access plus 1 year"
|
178
|
+
|
179
|
+
ExpiresByType application/pdf "access plus 1 weeks"
|
180
|
+
|
181
|
+
ExpiresByType application/javascript "access plus 1 weeks"
|
182
|
+
|
183
|
+
ExpiresByType application/x-javascript "access plus 1 weeks"
|
184
|
+
|
185
|
+
ExpiresByType application/x-shockwave-flash "access plus 1 weeks"
|
186
|
+
|
187
|
+
ExpiresByType application/x-font-ttf "access plus 1 year"
|
188
|
+
|
189
|
+
ExpiresByType application/x-font-woff "access plus 1 year"
|
190
|
+
|
191
|
+
ExpiresByType application/x-font-opentype "access plus 1 year"
|
192
|
+
|
193
|
+
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
|
194
|
+
|
195
|
+
</IfModule>
|
196
|
+
|
197
|
+
</IfModule>
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
# Gzip圧縮の設定
|
202
|
+
|
203
|
+
<IfModule mod_deflate.c>
|
204
|
+
|
205
|
+
SetOutputFilter DEFLATE
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
# 古いブラウザでは無効
|
210
|
+
|
211
|
+
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
212
|
+
|
213
|
+
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
214
|
+
|
215
|
+
BrowserMatch \bMSIE\s(7|8) !no-gzip !gzip-only-text/html
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
# 画像など圧縮済みのコンテンツは再圧縮しない
|
220
|
+
|
221
|
+
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|ico)$ no-gzip dont-vary
|
222
|
+
|
223
|
+
# プロクシサーバーが間違ったコンテンツを配布しないようにする
|
224
|
+
|
225
|
+
Header append Vary Accept-Encoding env=!dont-vary
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
AddOutputFilterByType DEFLATE text/plain
|
230
|
+
|
231
|
+
AddOutputFilterByType DEFLATE text/html
|
232
|
+
|
233
|
+
AddOutputFilterByType DEFLATE text/xml
|
234
|
+
|
235
|
+
AddOutputFilterByType DEFLATE text/css
|
236
|
+
|
237
|
+
AddOutputFilterByType DEFLATE text/js
|
238
|
+
|
239
|
+
AddOutputFilterByType DEFLATE image/svg+xml
|
240
|
+
|
241
|
+
AddOutputFilterByType DEFLATE application/xml
|
242
|
+
|
243
|
+
AddOutputFilterByType DEFLATE application/xhtml+xml
|
244
|
+
|
245
|
+
AddOutputFilterByType DEFLATE application/rss+xml
|
246
|
+
|
247
|
+
AddOutputFilterByType DEFLATE application/atom_xml
|
248
|
+
|
249
|
+
AddOutputFilterByType DEFLATE application/javascript
|
250
|
+
|
251
|
+
AddOutputFilterByType DEFLATE application/x-javascript
|
252
|
+
|
253
|
+
AddOutputFilterByType DEFLATE application/x-httpd-php
|
254
|
+
|
255
|
+
AddOutputFilterByType DEFLATE application/x-font-ttf
|
256
|
+
|
257
|
+
AddOutputFilterByType DEFLATE application/x-font-woff
|
258
|
+
|
259
|
+
AddOutputFilterByType DEFLATE application/x-font-opentype
|
260
|
+
|
261
|
+
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
262
|
+
|
263
|
+
</IfModule>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
```
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
```
|
272
|
+
|
273
|
+
User-agent: *
|
274
|
+
|
275
|
+
Disallow: /wp-admin/
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
```
|
1
タイトルの変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Wordpressのページ
|
1
|
+
Wordpressの詳細・カテゴリー・固定ページがリンクは変わるが、トップテンプレが表示される
|
test
CHANGED
File without changes
|