Skills and prevention of Google PR hijacking

Source: Internet
Author: User
Tags php code to domain
I have never wanted to talk about Google PR hijacking, for fear of causing some people to deliberately use it to cheat other webmasters.
However, a few posts in Dianshi mentioned this issue a few days ago. In addition, if someone wants to cheat, they can still find this method. It is better to discuss it publicly here, so that everyone can know it, but it can reduce the possibility of being fooled.
As we all know, Google PR is what webmasters are pursuing. Although it is not necessarily useful for rankings, the longer the toolbar, the more exciting it is.
Today we are talking about PR hijacking, that is, obtaining a relatively high PR value display on the toolbar by deception. The method is to use redirection.
Previously, when processing 301 and 302 redirection, the search engine generally regards the target URL as the actual URL to be included. Of course, there are also special cases, but in most cases, this is the case.
Therefore, if you perform A 301 or 302 jump from domain name A to domain name B, and the PR value of domain name B is relatively high, domain name A will also display the prvalue of domain name B after PR is updated. Some people use this to deliberately increase the PR value of their domain names.
The simplest thing is to jump 301 or 302 to the domain name B with a high PR first. After the PR is updated, immediately cancel the redirection, put your own content, and then start selling the link. This fake PR display value is maintained at least to the next PR update, generally two or three months.
When other webmasters came to this website, they saw a high PR value but did not know that this PR value was obtained through redirection. It was not the PR value of this website, but another website.

Even more concealed, the program detects Google spider, returns 301 or 302 redirection, and returns normal content to common visitors and other spider. In this way, we can see the general website, only Google will see the turn.
For example, the following PHP code can achieve this effect:


CODE:

[Copy to clipboard]

If (strstr ($ _ SERVER ['http _ USER_AGENT '], "Googlebot ")){

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.