/blog パスへのリクエストを /blog?sort-by=date に書き換えるには、次の設定で URL 書き換えルールを作成します。
Expression Editor に入力するテキスト:
http.request.uri.path == "/blog"Query > Rewrite to > Static のあと:
sort-by=date同じルールのパス書き換え操作は Preserve にします。URL パスは変わりません。
非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー
Transform Rule を作成し、リクエストパスを /blog から /blog?sort-by=date に書き換えます。
/blog パスへのリクエストを /blog?sort-by=date に書き換えるには、次の設定で URL 書き換えルールを作成します。
Expression Editor に入力するテキスト:
http.request.uri.path == "/blog"Query > Rewrite to > Static のあと:
sort-by=date同じルールのパス書き換え操作は Preserve にします。URL パスは変わりません。
役に立ちましたか?