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=mobile
toexample.com
example.com/dir1?css=mobile
toexample.com/dir1
example.com/dir1/.../dir10?css=mobile
toexample.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]