www.yourdomain.com/about301到www.yourdomain.com/about.html
sever段里这么写对嘛?server {if ($host != 'www.yourdomain.com/about' ) { rewrite ^/(.*)$ http://www.yourdomain.com/about.html$1 permanent;}
}
共有 4 条评论,登录后可见