Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- Spam words in a query string - do these backlinks hurt rankings?


levo - 4:49 pm on May 10, 2010 (gmt 0)


I'm using


### DROP KNOWN BAD Qs
RewriteCond %{QUERY_STRING} ^from.*$ [OR]
RewriteCond %{QUERY_STRING} ^ref.*$ [OR]
RewriteCond %{QUERY_STRING} ^q=$
RewriteRule ^/(.*) http://www.example.com/$1? [R=301,L]

### DROP ALL Qs Except Select Folders/Files
RewriteCond %{QUERY_STRING} !^$
RewriteCond %{REQUEST_URI} !^/search$
RewriteCond %{REQUEST_URI} !^/widgets/search.html$
RewriteCond %{REQUEST_URI} !^/stats.*$
RewriteCond %{REQUEST_URI} !^/__utm.gif$
RewriteRule ^/(.*) http://www.example.com/$1? [R=301,L]


Thread source:: http://www.webmasterworld.com/google/4129314.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com