摘要: 在linux主机上加上这段代码RewriteEngine onRewriteCond %{http_host} mydomain.com [NC]RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]注意:URL标准化的301重定向(以上代码)需要写在其他URL-rewrite代码之前。 阅读全文
posted @ 2013-05-31 10:44 独行客 阅读(240) 评论(0) 推荐(0) 编辑