[wp-hackers] ref parameters and fake url

Otto otto at ottodestruct.com
Thu Mar 27 17:28:04 GMT 2008

Well, it definitely works, but with default permalinks (?p=XX and
such), it will only redirect you to the blog's homepage, not to the
individual single pages.

On Thu, Mar 27, 2008 at 12:16 PM, Stefano Aglietti <steagl4ml at gmail.com> wrote:
> 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)
>  _______________________________________________
>  wp-hackers mailing list
>  wp-hackers at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list