Tarek Chaaban

Tarek Chaaban, M.Sc's official blog. It contains current web project portfolio, posts regarding his Canadian army experience, news, sports articles, and web tutorials on programming and using social networking technologies.

Google Page Rank

About Google Page Rank Plugin :

PageRank is a patented method to assign a numerical weighting to each element of a hyperlinked set of documents, such as the World Wide Web, with the purpose of “measuring” its relative importance within the set.

The algorithm may be applied to any collection of entities with reciprocal quotations and references.

The numerical weight that it assigns to any given element E is also called the PageRank of E and denoted by PR(E). (Wikipedia)

Page ranks varies between 0 and 10 , 10 being The Best .

Usually The Page rank is a big factor to determine the Price of a domain name and selling links on a website .

Note : This plugin will only show the Page rank of the Main domain and not pages and subpages … , i might publish another version wich will allow to show the page rank of each page on a domain .

If You want to know the page rank of each page on your website , Google Toolbar is the best thing to have it allow you to know the pr of your pages .

Download Google Page Rank Plugin

If you dont want to make donation you can download the support version wich contain a link back to my site :

Download The plugin –> Download Page rank plugin

Google Page Rank Demo Page

Here on my site ;) , look at the right side bar under “Page Rank” you will see a logo showing The Google page rank .

Info and Setup of Google Page rank plugin

The Page Rank Plugin Contains 3 php files and 1 folder for images , To Install the plugin :

  • Unzip the file and upload the page-rank folder to your wp-content/plugins folder
  • Activate your plugin in your Administration control panel .
  • Call the plugin function inside your theme (In my case it was the sidebar)

Add this code where you want the image to appear :

And Your Done !!

Contact me by Mail if you are having any problem : chaabant[-@-]gmail[-dot-].com


If you enjoy using this plugin or appreciate the hard work that goes into developing and maintaining it for the community, please consider donating.

All funds will go into the support, maintenance, and development of future web development .

Thanks for your support .


  1. I tried installing the plugin and putting the code in my sidebar. However the only thing that shows up is some text that says “google page rank”. No idea why.

  2. plz post it on your site so i can check it .

  3. A new version has been uploaded to fix the issue of having the blog installed on a Sub-domain .

    Thank’s for the info (Ciless Parks)

  4. Nice Plugin. Thanks a lot.

  5. Hi chaaban, the tool is great, but sorry the graphic is not so cool- could you use a more crystalized looking PR button..
    Just a thought, great tool anyways

  6. Hummm , if you can provide better looking graphics i will be happy to replace them ;) .

    I’m only a programmer not a designer :)

    Thank’s for your comment .


  7. Hi Chaaban! I used the plugin, but it failed to show up on the plugins admin. To solve this, I renamed the file google-page-rank-wordpress-plugin.php to just google-page-rank.php and it worked. Perhaps other users will encounter this problem. I’d like to share what I did to solve it. Thanks!

    I really want to know as I have installed Google toolbar and it says 1 and your plugin says 5.

  9. Yes it does show the real page rank .

    Google use many datacenter for pagerank , and recently there was an update for the page rank .

    So on some data center it’s showing the old and on other it’s showing the new page rank .

    The page rank will be the same when all google page rank datacenter gets updated .

  10. Hi Chaaban,

    Thank you for this script.

    I agreed with Claire that you need to change
    the name before activation in order to use it.

    Also, please make use to give instruction on
    putting the images folder into the page-rank folder.

    Well done!

  11. i think the issue is that on some server the file name is to long .

    google-page-rank-wordpress-plugin.php = 33 chars (without extention)

    i will rename it and fix the page rank zip file .

    And yes the image folder should stay in the page_rank folder .

    as i mention just upload your files , and activate the plugin and insert the php call to the function of google page rank .


  12. Salam Chaaban,

    Nice web site and wish luck


  13. Thanks for sharing your PageRank plugin!

  14. Dear Chabaan recently i Upgrade may Software (News Website) and it is looks like i lost my page rank please can help me and if it possible help me to fix.

    Garowe Online

  15. I get the following error message:

    Warning: file_get_contents(http://www.google.com/search?client=navclient-auto&ch=6-1551663778867426523&features=Rank&q=info:blog.loxal.net) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/wordpress/wp-content/plugins/page-rank/rank.php on line 20

    If I try to request the pagerank URL with Firefox I also get a “403 Forbidden Error”. It seems that the IP range of my ISP and of my web server is blocked by G00gle :(

  16. 1- Garowe Online

    If the URL of you site changed the page rank will change also , the best is to keep the URL static .

    2 – Alexander Orlov

    Sorry , yes sometime Google block some ISP for checking page rank , you can test it on another server .

    Good Luck for both

  17. Today I have tried it again, now it works… :) Apparently G00gle IP range bans can also have a temporary nature.

  18. Thanks for the plugin mate. I’ll give it a go.

    Does anyone know when exactly Google assigns their page rank to a site? I heard that they were doing another run but I haven’t seen them yet in my logs. I know the internet is a big place but I’d like to know when and how long about the PR in stead of just the how its calculated.

  19. very handy although Im trying to train myself out of obsessing over pagerank as it doesnt matter that much

  20. Good handy tool,

    Not checked though, will update soon.
    Will try and make some PR Icons too

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.