Text in Expression Editor:
http.request.uri.path == "/blog"Text after Query > Rewrite to > Static:
sort-by=dateCreate a transform rule to rewrite the request path from /blog to /blog?sort-by=date.
To rewrite a request to the /blog path to /blog?sort-by=date, create a URL rewrite rule with the following settings:
Text in Expression Editor:
http.request.uri.path == "/blog"Text after Query > Rewrite to > Static:
sort-by=dateAdditionally, set the path rewrite action of the same rule to Preserve so that the URL path does not change.