正确Lighttp 301重定向设置,网上很多代码,多是不能使用,以下301重定向代码经站长工具查询,返回代码301状态,本站演示zairun.com
$HTTP["host"] =~ "^zairun.com$" { url.redirect = ( "^/(.*)" => "http://www.zairun.com/$1", ) }
本文由载润札记原创发布,转载请注明出处:Lighttp 301重定向。
正确Lighttp 301重定向设置,网上很多代码,多是不能使用,以下301重定向代码经站长工具查询,返回代码301状态,本站演示zairun.com
$HTTP["host"] =~ "^zairun.com$" { url.redirect = ( "^/(.*)" => "http://www.zairun.com/$1", ) }
本文由载润札记原创发布,转载请注明出处:Lighttp 301重定向。