Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Ratings and Charts

PHP Google Position Checker

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

PHP Google Position Checker - Item for Sale


Ad: Bluehost hosting

This script will automatically track your websites’ Google positions for any given keywords onanyGoogle (, .com, .nl, .it etc). It will periodically update the rankings once a day and these can be easily displayed anywhere on your website.

if you offer Search Engine Optimisation as a service this is the perfect tool to show off your work to your customers. What could be better and more impressive than showing how well your clients rank?

It can also be used privately to track your websites, this can be used with any business. You may have hired a Search Engine Optimisation company and this is the perfect way to track how they are doing based on the keywords you have provided!

it couldn’t be simpler, once this is setup all you need to do to track different keywords is add or remove a single line from one file.

Minimum Requirements

  • PHP 4 .3 or newer
  • Cron / scheduled tasks enabled on your web hosting
  • 1 MySQL Database
  • A very basic understanding of using FTP software

A) Installation

  1. Unzip the sample folder to a temporary location (such as your desktop).
  2. Create a MySQL database, or you can use an existing one, and fill in the details in config.php. You can use any text editor for this.
  3. Open update_rankings.php. Firstly, look at line 9. It should be$search = new searchRanking(‘’, 10);, change ‘’ to the Google you want to track. So if you want to track Dutch rankings, type Then near the top you will see ‘DEFINE HERE ’. This is where you list all the websites you want to track positions for, there is an example in that file to help you out. It should look something like this
  4. Open your FTP program (FileZillais a good one) and connect to the website where the script will be running. Navigate to the public folder (normally httpdocs, public_html or www) and upload all the files you unzipped from sample. I recommend putting the files in a subdirectory, so if your website is upload them to
  5. Now navigate to the install.php file you uploaded, so if you uploaded to go tohttp://www.example/com/ranking/install.php.You should see a small notice informing you a database has been created. If it has, delete install.php. If not, make sure the database details you entered into the config.php are correct.
  6. To make sure you have some results to test the output with go to the update_rankings.php, so following the example it would be in should see a few ‘Row Inserted’ messages, the number will vary depending how many websites you’re tracking.
  7. In the same folder open my_path.php, for instance,and copy the output into notepad. It should look something like /home/example/domains/ The first few parts will vary depending on your server setup. Firstly, add a forward slash (/) to the end of what you copied, then the directory you uploaded the files to and then finally update_rankings.php to the end of that. It should end up something like /home/example/domains/
  8. While this is not mandatory, it is highly recommended to password protect the folder you uploaded the files to. This will prevent unwanted access and running of the script.
  9. Now login to your web hosting control panel and navigate to ‘cronjobs’ (it might be called scheduled tasks) and fill in the information as shown below
  10. Create New Cron Job Current Minute Hour Day Month Month DayofWeek Comnand Iphp enkinQ cter
  11. This will run the script every day at 1am, so your rankings will be live every single day. If you wanted to update it twice a day, fill in in as shown below
  12. Create New Cnn Job Current Time Mute Hour 11.13 Day Month Month DayofWeek Command Iphp
  13. Everything should now be setup! See below for instructions on how to actually display the results.

B ) Displaying The Results

Now you have some data you will obviously want to display them, here is how

  1. Firstly, open the file where the results will be displaying.
  2. Open up example.php and copy everything from the ‘COPY FROM HERE ’ line to the ‘END COPY ’ line:
  3. f74 HERt reonfi. 4searcI new rteate our cin, tSr ntIur tSr pee verbe thet. coon the rio for tSr rfioed webite! searcS terre
  4. On line 10 and 11 (in the example.php file, it will be different on the file you just copied in to) there are two lines starting require_once(). These lines may need updating if you uploaded to a subdirectory such as ranking. If you uploaded to then change the includes to look like
  5. require
  6. Upload the file that will be displaying the results and open it in your browser, for instance, and you should see a table of results. You can change the styling of the results table by editing the .css file in the sample folder, or do it yourself in your own CSS file.

Once again, thank you so much for purchasing this theme. As I said at the beginning, I’d be glad to help you if you have any questions relating to this item. No guarantees, but I’ll do my best to assist. You can either send me a messagehereor by emailing me at[email protected].

Version 1.1

  • Fixed a bug to allow ‘special characters’ such as umlauts in domains/keywords.

Disclaimer: I cannot be held responsible for any consequences incurred by using this script. This script works perfectly as long as you do not abuse it. Do not run it more than once or twice a day.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


12 May 11

Last Update:
25 February 12

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera

Software Version:
PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, MySQL 5.x, jQuery

Files Included:


checker, google, performance, php, position, tracking