What is the purpose of preserving the query string in a Cloudflare redirect rule?

Question

Grade: Education Subject: Support
What is the purpose of preserving the query string in a Cloudflare redirect rule?
Asked by:
81 Viewed 81 Answers

Answer (81)

Best Answer
(352)
Preserving the query string is crucial for maintaining the context of the original request. It allows the destination server to understand the user's intended action, such as tracking referrals, passing parameters for dynamic content, or maintaining session data. Without it, the destination server might treat the redirect as a completely new request.