質問編集履歴
1
example
test
CHANGED
File without changes
|
test
CHANGED
@@ -42,11 +42,11 @@
|
|
42
42
|
|
43
43
|
RewriteBase /
|
44
44
|
|
45
|
-
RewriteCond %{HTTP_HOST} ^(www\.
|
45
|
+
RewriteCond %{HTTP_HOST} ^(www\.example\.com)(:80)? [NC]
|
46
46
|
|
47
47
|
RewriteCond %{REQUEST_URI} !(^/wp/)
|
48
48
|
|
49
|
-
RewriteRule ^(.*) http://
|
49
|
+
RewriteRule ^(.*) http://example.com/$1 [R=301,L]
|
50
50
|
|
51
51
|
order deny,allow
|
52
52
|
|