PrepMe Blog
5Oct/092

Search Engine Ranking Script

Like many companies PrepMe tries to keep its eye on how we rank on search engines for various phrases. I tried to find a simple script to help us gather this data quickly and easily, but unfortunately there wasn't much out there (that didn't cost an arm and a leg).

I threw together this command line php script and class to do just that and it's free to download. It will spit out the rank for each of your keywords on Google, Yahoo, and Bing. Modify checkRank.php with the keywords you care about and your website's URL and then run the script. We're releasing this under the open source GPL 2.0 license so do with it as you see fit!

Download rankChecker

Comments (2) Trackbacks (0)
  1. And here’s a kind of funny thing…

    When I type ’santa fe web design’ into google, cantonbecker.com comes up #7

    But this script reports it as #13

    But if I go into the script and remove the &num=100 from the query string, then it reports it correctly.

    Any idea why the &num=100 would be impacting the response google gives? Weird!

  2. Canton,

    That’s strange. The only thing I can think is that they have a different html template to render long pages or maybe the way they do advertising on those pages is different. Also keep in mind that the way ads are served to this script may be different than the way you would see them in the browser do to a variety of ranking adjustments Google does based on your cookie.


Leave a comment


No trackbacks yet.

Pages

Categories

Blogroll

Archive

Meta