On every page of my website at the end of the URL could be ?css=(mobile|desktop) query. I need to delete this query like this:
example.com/?css=mobiletoexample.comexample.com/dir1?css=mobiletoexample.com/dir1example.com/dir1/.../dir10?css=mobiletoexample.com/dir1/.../dir10
I tried to do it like this, but I can't make the right rule.
RewriteCond %{QUERY_STRING} css=(mobile|desktop)
RewriteRule ^(.*) problemhere [R=301,L]