旧域名换新域名做301转移
2013-4-9 8:50 Tuesday  

分类: Linux 标签: phpec http RewriteRule RewriteEngine RewriteCond 评论(41) 浏览(16622)

.htacess代码

RewriteEngine on
RewriteCond %{HTTP_HOST} ^old.phpec.org$
RewriteRule ^(.*)$ http://www.phpec.org/$1 [R=301,L]

+1 8

留下你的看法: