3

Does anyone know how I would go about detecting faked pagerank in a php script im writing to run checks on a domain?

I understand that PR is faked when someone sets up a specific 301 redirect to a high pr domain exclusively for googlebots, but dont know how I would mimic this to check (I guess I would need the exact user agent?)

Thanks

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
thatguy
  • 797
  • 2
  • 9
  • 17

1 Answers1

2

Use GoogleBot's UserAgent, and visit the site with a script (or even from your browser). (If from the script) check for the HTTP response code.

Google Bot UserAgent:

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Ruel
  • 15,438
  • 7
  • 38
  • 49