GoFuckBiz.info
Форум успешных вебмастеров - GoFuckBiz.info
SEO · трафик · партнерские программы

   - GoFuckBiz.info > - > , > htaccess redirect only SE

: htaccess redirect only SE

30.06.2009, 11:37
nes
. , .
2 , , , domen.com/folder
folder . .
30.06.2009, 12:01
mdS


RewriteEngine On

RewriteCond %{HTTP_REFERER} ^http://(www.)?google..*[?&]q=([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(search.)?yahoo..*[?&]p=([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(search.)?live..*[?&]q=([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(search.)?msn..*[?&]q=([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(www.)?altavista..*[?&]q=([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(www.)?technorati.com/search/([^&]+)
RewriteRule ^.* <URL> [L]

RewriteCond %{HTTP_REFERER} ^http://(www.)?ask..*[?&]q=([^&]+)
RewriteRule ^.* <URL> [L]

.
30.06.2009, 15:02
ziavra
-
RewriteEngine On
RewriteCond /%{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ index.php?param=$1 [L]
30.06.2009, 15:06
azgard
RewriteEngine On
RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*yahoo.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*yandex.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*rambler.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ya.*$ [NC]
RewriteRule .* http://domain.com [R,L]
30.06.2009, 17:45
Bljat
RewriteEngine On
RewriteCond %{HTTP_REFERER} google|msn|live|altavista|ask|yahoo|aol|bing
RewriteRule ^.*$ http://domen.com [NC,L]


17.11.2009, 18:36
HwoR
..
17.11.2009, 18:59
HwoR
)
17.11.2009, 19:18
Fred
..

htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} google.*[\?&]q=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} msn.*[\?&]q=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} live.*[\?&]q=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} altavista.*[\?&]q=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} ask.*[\?&]q=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} yahoo.*[\?&]p=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteCond %{HTTP_REFERER} aol.*[\?&]query=([^&]+)
RewriteRule ^.*$ http://feed.com/search.php?q=%1 [NC,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>javascript
function referrer_keyword_parser() {
var patterns =
[
[ /^http:\/\/([a-z]+\.)?google\.(co\.)?[a-z]+/, /q=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?yahoo\.(co\.)?[a-z]+/, /p=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?search\.msn\.(co\.)?[a-z]+/, /q=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?search\.live\.(co\.)?[a-z]+/, /q=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?search\.aol\.(co\.)?[a-z]+/, /q=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?search\.ask\.[a-z]+/, /q=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?search\.lycos\.(co\.)?[a-z]+/, /query=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?digg\.com/, /s=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?rambler\.[a-z]+/, /query=([^&]+)/ ],
[ /^http:\/\/([a-z]+\.)?yandex\.[a-z]+/, /text=([^&]+)/ ]
]

var p;
for ( var k in patterns) {
p = patterns[k]
if (document.referrer.match(p[0])) {
var m = document.referrer.match(p[1]);
if (m.length)
return m[1];
else
break;
}
}
return escape(document.title);
}
alert(referrer_keyword_parser());
(c) daoclickphp
if(preg_match("!google|msn|live|altavista|ask|yahoo|aol|cnn|weath er|alexa!i",$_SERVER['HTTP_REFERER'])){
preg_match("![\?\&]q=([^&]+)|[\?\&]query=([^&]+)|[\?\&]p=([^&]+)|[\?\&]keywords=([^&]+)!i",$_SERVER['HTTP_REFERER'],$m);
foreach($m as $k=>$v) if($k>0 && $v!=""){ $rk=$v; break; }
$rk=($rk!="")?$rk:"123";
header('Location: http://feed.com/search.php?q='.$rk);
exit;
}
17.11.2009, 19:32
HwoR
Fred, ! :)
17.11.2009, 23:00
seroja

:
domain.com/folder1/?q=key
folder1 htaccess
domain.com/?q=key
htaccess "q" :)
17.11.2009, 23:03
Sergyk
, htaccess , 10 - 15?
17.11.2009, 23:49
CrazyStudentS_Mi}{
, htaccess , 10 - 15?

, .. , ?
18.11.2009, 01:24
digg
, ?
18.11.2009, 13:13
aoki
javascript google aol .
20.11.2009, 00:49
seroja
:
domain.com/folder1/?q=key
folder1 htaccess
domain.com/?q=key
htaccess "q" :)


?

vBulletin® 3.8.6. Copyright ©2000-2011, Jelsoft Enterprises Ltd. : zCarot