質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
コード
|
4
4
|
|
5
|
-
```
|
5
|
+
```.htacces
|
6
6
|
|
7
7
|
<IfModule mod_rewrite.c>
|
8
8
|
|
9
9
|
RewriteEngine on
|
10
10
|
|
11
|
-
RewriteCond %{HTTP_HOST} ^test
|
11
|
+
RewriteCond %{HTTP_HOST} ^test.com
|
12
12
|
|
13
13
|
RewriteRule ^(.*)$ http://www.test.com/$1 [R=301,L]
|
14
14
|
|