【发布时间】:2020-07-02 12:24:39
【问题描述】:
我创建了一个 Cloudflare 页面规则,该规则将使用本文档中的以下表达式将 https://www.example.com/ 转发到 https://example.com/:https://support.cloudflare.com/hc/en-us/articles/200172286-Configuring-URL-forwarding-or-redirects-with-Cloudflare-Page-Rules。转发确实适用于/ 路由,但如果用户键入 URL https://www.example.com/first,它会将客户端重定向到 https://example.com/。它应该将客户定向到https://example.com/first。这些是我在提到的文档中使用的表达式,但它们似乎不起作用:
【问题讨论】:
标签: redirect cloudflare forwarding