Redirect rule with 2 params

Hi

How can i create a page rule redirect

example:

from
https://a.example.com/friends.php?a=100&url=438
to
https://example.com/affiliates/link?a=100&url=438

Thanks in advance

Bulk Redirects has a toggle called ‘Preserve query string’: https://developers.cloudflare.com/rules/bulk-redirects/reference/parameters/
You should then be able to redirect from a.example.com/friends.php to example.com/affiliates/link with this parameter enabled.

1 Like

Thank you

but for some reason it doesn’t work for me

I have created these 2

and nothing gets forwarded

Created a rule to enable the list? https://developers.cloudflare.com/rules/bulk-redirects/concepts/

Thank you

I wish Cloudflare would have simple how to’s

https://developers.cloudflare.com/rules/bulk-redirects/create-dashboard/ ?