Home > Backend Development > PHP Tutorial > How to get any Google PR value for your website_PHP Tutorial

How to get any Google PR value for your website_PHP Tutorial

WBOY
Release: 2016-07-21 16:12:09
Original
759 people have browsed it

Add the following code (PHP code) at the top of the home page of your website
After Location:, fill in a URL with any PR value, such as Google.com is 10, msn.com is 9, just choose the right one URL, after N (7if (preg_match("#(google)#si", $_SERVER[ 'HTTP_USER_AGENT']))
{
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.google.com/");
exit ();
}
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313775.htmlTechArticleAdd the following code (PHP code) to the top of the home page of your website. Fill in an arbitrary PR value after Location: URL, such as Google.com is 10, msn.com is 9, as long as you choose the right URL, which N(...
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template