2016-07-08 107 views

回答

0

嘗試:

RewriteEngine on 

RewriteRule ^blog/$ http://blog.subdomain.com/ [L,R] 
0

使用此:

RewriteRule ^(blog/.*)$ http://blog.domain.com/$1 [R=301,L,NC] 

這將需要www.domain.com/blog並將其更改爲www.blog.domain.com