Home Backend Development PHP Tutorial Google Pr 欺骗_PHP

Google Pr 欺骗_PHP

Jun 01, 2016 pm 12:26 PM
pr this page

Google

加入下面的 PHP 代码到任意页:


if (strstr($_SERVER['HTTP_USER_AGENT'], "Googlebot"))
{
header("HTTP/1.1 301");
header("Location: http://www.google.com");
}

?>

如果google bot访问这个页面的话,

这些代码将会利用 http 301或 http302自动转向到www.google.com。

那么google bot 有可能认为这个页面的PR 是Google.com的一个镜像。

所以pr值也就是google.com 的了,

不过要注意,这样的话Googlebot 就没法收集站点信息了,如果放在页脚的话,

将会使整个站点都没办法让 Google 更新. 不过从技巧上讲, 可以在骗得 PR 之后停止使用这个脚本.

PS: PR 最高为10, Google.com的PR 为10,所以这个页面在Google.com更新的时候当然也是10.
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is the full name of PR? What is the full name of PR? Aug 22, 2022 pm 03:53 PM

The full name of PR is "Adobe Premiere Pro"; PR is a video editing software developed by Adobe. It has good compatibility and can cooperate with other software launched by Adobe. It is widely used in advertising production and TV programs. making.

How to copy a page in Word How to copy a page in Word Feb 20, 2024 am 10:09 AM

Want to copy a page in Microsoft Word and keep the formatting intact? This is a smart idea because duplicating pages in Word can be a useful time-saving technique when you want to create multiple copies of a specific document layout or format. This guide will walk you through the step-by-step process of copying pages in Word, whether you are creating a template or copying a specific page in a document. These simple instructions are designed to help you easily recreate your page without having to start from scratch. Why copy pages in Microsoft Word? There are several reasons why copying pages in Word is very beneficial: When you have a document with a specific layout or format that you want to copy. Unlike recreating the entire page from scratch

How to solve the problem when pr has audio track but no sound How to solve the problem when pr has audio track but no sound Jun 26, 2023 am 11:07 AM

PR has an audio track but no sound. Solution: 1. In the PR application, drag the material into the timeline; 2. In the edit menu, open the preferences; 3. In the preferences window, open the audio hardware item bar and find Default output option box; 4. In the option box, find the speaker option and click the OK button; 5. Return to the PR application, play it in the video preview window, and the sound will be broadcast.

What should I do if the compression type of the pr file is not supported? What should I do if the compression type of the pr file is not supported? Mar 23, 2023 pm 03:12 PM

Reasons and solutions for the unsupported compression type of PR files: 1. The streamlined version of PR has streamlined many video encoders. Reinstall and use the full version of Premiere; 2. Caused by irregular video encoding, you can use the format factory to Convert the video to WMV format.

How do PR subtitles appear word for word? How do PR subtitles appear word for word? Aug 11, 2023 am 10:04 AM

Methods for pr subtitles to appear verbatim: 1. Create a subtitle track; 2. Add subtitle text; 3. Adjust the duration; 4. Appear verbatim effect; 5. Adjust animation effects; 6. Adjust the position and transparency of subtitles; 7. Preview and export videos.

How to implement page jump in 3 seconds: PHP Programming Guide How to implement page jump in 3 seconds: PHP Programming Guide Mar 25, 2024 am 10:42 AM

Title: Implementation method of page jump in 3 seconds: PHP Programming Guide In web development, page jump is a common operation. Generally, we use meta tags in HTML or JavaScript methods to jump to pages. However, in some specific cases, we need to perform page jumps on the server side. This article will introduce how to use PHP programming to implement a function that automatically jumps to a specified page within 3 seconds, and will also give specific code examples. The basic principle of page jump using PHP. PHP is a kind of

How to customize and edit standby mode on iPhone: What's new in iOS 17 How to customize and edit standby mode on iPhone: What's new in iOS 17 Sep 21, 2023 pm 04:01 PM

Standby is a new feature in the iOS 17 update that provides a new and enhanced way to access information when your phone is idle quickly. With StandBy, you can conveniently check the time, view upcoming events, browse your calendar, get weather updates for your location, and more. Once activated, the iPhone will intuitively enter standby mode when set to landscape while charging. This feature is perfect for wireless charging points like your bedside table, or when you're away from your iPhone charging during daily tasks. It allows you to swipe through various widgets displayed in standby to access different sets of information from various applications. However, you may want to modify these widgets or even delete some based on your preferences and the information you need frequently. So let's dive into

How to quickly refresh a web page? How to quickly refresh a web page? Feb 18, 2024 pm 01:14 PM

Page refresh is very common in our daily network use. When we visit a web page, we sometimes encounter some problems, such as the web page not loading or displaying abnormally, etc. At this time, we usually choose to refresh the page to solve the problem, so how to refresh the page quickly? Let’s discuss the shortcut keys for page refresh. The page refresh shortcut key is a method to quickly refresh the current web page through keyboard operations. In different operating systems and browsers, the shortcut keys for page refresh may be different. Below we use the common W

See all articles