Jump to content
Sign in to follow this  
gaby

Coduri Interzise Ce Il Deranjeaza Pe Google

Recommended Posts

Interogarea User-Agent-ului:

<?php
if ( stristr($_SERVER['HTTP_USER_AGENT']) ) {
include ("continut-pentru-google");
exit;
} else {
include ("continut-pentru-utilizatori");
}
?> [/code] [u][b]Interogarea adresei IP a GoogleBot-ului:[/b][/u]
[code]<?php
$google_ip = Array('11.112.11.113','11.112.11.114');
if ( in_array($_SERVER['REMOTE_ADDR'], $google_ip) ) {
include ("continut-pentru-google");
exit;
} else {
include ("continut-pentru-utilizatori");
}
?>
Inselarea prin 301 Redirect:
<?php
if ( stristr($_SERVER['HTTP_USER_AGENT']) ) {
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: domeniu-pentru-google");
exit;
} else {
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: domeniu-pentru-utilizatori");
exit;
}
?>[/code]

[color=red][b]Atentie![/b][/color]

[color=orange]Daca folositi codurile de mai sus riscati ca site-ul dumneavoastra sa fie complet banat din motoarele de cautare.[/color]

Share this post


Link to post
Share on other sites

pentru ca se considera Black Hat SEO, primele doua coduri cred ca va sunt destul de clare, iar folosind ultimul cod, se poate face o inselatorie pentru a-ti creste Page Rank-ul, ca sa intelegeti mai bine uite, va dau acest exemplu ( http://www.articles-on.net/Article/How-to-...e--BlackHat-/85 ).

P.S: sper ca stiti putina engleza ca sa puteti intelege.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...