How to Remove Query Strings on Cloudflare Pages

The Title says it all - is there any chance there is any chance to add a rule to the _redirects file.

It’s breaking the cache and also making a very unwelcomed experience.

Here’s the string at the end of the website URLs.
I am on the free plan with cloudflare


Hi there,

As for the cache, you can set you caching level to ignore the query string:

This setting can be found under Caching > Configuration.

If you still rather remove the query string, using a rewrite rule to rewrite the string to empty might work:

Create Rewrite URL Rule under Rules > Transform Rules > Rewrite URL > + Create rule.

Take care.

Sadly it didn’t work - I tried both.

It appears to work but it doesn’t work anything other than the main page.