摘要:
Nginx实现301跳转
以下示例实现非xxx.com域名访问一律301跳转到xxx.com if ($host != 'xxx.com') { rewrite ^/(.*)$ http://xxx.com/$1 permanent; }使用permanent,发送301永久定向,对搜索引擎更加友好 阅读全文
posted @ 2010-08-16 22:58
lexus
阅读(202)
评论(2)
推荐(0)