meLanChoLym adlı üyeden alıntı: mesajı görüntüle
Robots.txt haricinde başka yöntemlerde var.

.htaccess ile;
RewriteEngine on
# no spam
RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC]
RewriteRule .? http://www.siteadi.com%{REQUEST_URI}? [R=301,L]
Php ile;
list($adres2) = explode("?ref", $_SERVER['REQUEST_URI']);
$adresim = "http://".$_SERVER['SERVER_NAME'].$adres2;

if (eregi('ref=', $_SERVER['REQUEST_URI'])) {
header( "HTTP/1.1 301 Moved Permanently" );
header("Location: ".$adresim);
}
Asp ile;
<%On error Resume Next
set strURL = Request.ServerVariables("QUERY_STRING")
bolum = split(strURL,"/")
bolum2= split(bolum(0),"=")
sayfa=bolum2(2)


if not sayfa="" then
site="http://www.siteadresim.com"
Response.Write("<script>"&VbCrlf)
Response.Write("document.location.href='"&site&"'; "&VbCrlf)
Response.Write("</script>"&VbCrlf)
Response.End
end if%>
teşekkür ederim arkadaşım