A rewrite is not visible to website visitors, since the URL displayed in the browser does not change. Configure URL Rewrite Rules to perform rewrites at the edge without reaching your web server.
Im pretty sure the regular redirect rules can do this, but I’m missing something with operators or variables.
Im able to get the below to save, but unfortunately it still won’t redirect
That would require the Query String to just consist of PageSpeed=noscript. You could change that to contains or use http.request.uri.args for something a bit less fragile, like so:
Of course, this also has the side effect of removing every other query string from the URL.
If you were ENT, could maybe use regex replace to remove just the query string you want. Otherwise not sure.