28 08 2012

.htaccess 判断域名做跳转

bigCat Posted in Linux, WordPress - Comment.isBlank
RewriteCond %{HTTP_HOST} ooxx.me$ [NC]\r\nRewriteRule ^(.*)$ http://av.cm/$1 [L,R=301]

\r\n\r\n这样做了别名之后,就可以做转发了

Host: (miao) | Word: Press | Code: HTML5