cloudflare 301 重定向设置

https://support.cloudflare.com/hc/en-us/articles/218411427#redirects

 

 将 https://dfg.com/* 设置301重定向到 https://abc.com/$1 的效果是

这样 https://dfg.com/hello 就会跳到 https://abc.com/hello

 

$1会替换第一个通配符的内容,$2会替换第二个通配符的内容,上面例子中,$1替换了*。 

posted @ 2018-03-12 14:05  樱风凛  阅读(2697)  评论(0编辑  收藏  举报