Hi,

I'd like to figure out how best to strip random query strings applied by external sites to our links like this:

https://linuxsecurity.com/features/top-6-vulnerability-scanning-tools?ZhdOK=VBKCrHPPeszbcJQ

The problem is that Google considers them unique URLs, which creates a duplicate content situation.

This rule matches, but just creates what appears to be an implicit 302 redirect without a 200:

RewriteCond %{REQUEST_URI}      ^/features/(.+)
RewriteRule ^ https://webstage.linuxsecurity.com/features/%1 [QSD]

I also tried [L,QSD] but that appears to be the same.

Is it possible to strip a query string from a URL without also redirecting it? I'm adding QSD to existing redirects where applicable, but this would just be for URLs that aren't currently being redirected.

dave


Reply via email to