Skip to content

Instantly share code, notes, and snippets.

@cntlscrut
Created July 17, 2020 17:06
Show Gist options
  • Save cntlscrut/b8753ca1030aa788e6400f4c593c8c2a to your computer and use it in GitHub Desktop.
Save cntlscrut/b8753ca1030aa788e6400f4c593c8c2a to your computer and use it in GitHub Desktop.
RewriteCond %{THE_REQUEST} \?
RewriteCond %{REQUEST_URI} !^/news
RewriteCond %{QUERY_STRING} !itok=([0-9]+)
RewriteRule ^ %{REQUEST_URI} [L,R.QSD]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment