[wp-hackers] ref parameters and fake url
Stefano Aglietti
steagl4ml at gmail.com
Thu Mar 27 17:16:35 GMT 2008
On Thu, 27 Mar 2008 11:44:44 -0500, Otto <otto at ottodestruct.com>
wrote:
>I'm still not sure why sites add that ref parameter, but if you know
>you don't have any plugins using it, then this will eliminate it from
>your site and, eventually, from Google:
>
>RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC]
>RewriteRule .? http://example.com%{REQUEST_URI}? [R=301,L]
>
>The idea is that when somebody makes a link to your site with the
>ref=whatever parameter, you perm redirect them to the real URL. Google
>will then follow these links, see the perm redirect, and change its
>own indexes accordingly. No more ref=spammer sites listed for you in
>Google.
I suggested this (found on wp.org forum) to the user that asked me
about this problem in the italian forum but he says it doesnt' works..
and iwe weren't able to find what the hell he did to make it not
functioning cause was just necessary to change the URL with theone of
the blog...
Thanks a lot too :)
--
Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
http://www.wordpress-it.it (WordPress Italia)
More information about the wp-hackers
mailing list