WordPress PageRank Widget Plugin

pagerankThere are a number of PageRank plugins for WordPress, but it seems that all of them involve manually editing the template to incorporate them. With the lack of a better option, I took it upon myself to develop a WordPress plugin to display PageRank in a widget. And thus, the PageRank Widget for WordPress was born.

The options are very simple, as there is only one. You can display your PageRank either at a top-level (http://www.yourdomain.com) or display it at a page level (http://www.yourdomain.com/the-page-level). By default, the PageRank will be displayed at the page level.

Installation is very simple:

  • Download the PageRank Widget plugin
  • Extract the contents to your plugin directory
  • Activate the plugin
  • Navigate to Appearance > Widgets
  • Add the PageRank Widget
  • Select the display option (Individual Pages or Top-Level)
  • Save Changes

I like the option of being able to display PageRank with a standalone widget. It makes it very simple to use and does not involve having to edit any HTML code or load images/JavaScript from another website. Try it out, and feel free to make any suggestions as to how I might be able to improve it.

Update (01/06/2009): Per a user request, I’ve also added a feature to display the pagerank within a page/post. To use it, place the following comment where you wish for it to appear within the page:

<!--pagerank-->

Update (02/24/2009): I noticed today that the widget was causing some errors on my page. There was increased traffic on my site, so I made some updates to the plugin so that the PageRank requests are only made once a day. PageRank really does not change probably more than once a month anyway, so this should not present any problems.

Update (05/09/2009): I broke the plugin a few days ago, and it is now fixed. Version 0.60 has many bugfixes and now the PageRanks are cached so that we do not upset Google for making excessive requests.

Earlier I was avoiding this by using http://www.gmodules.com/ig/proxy?url= as a cache because Google seemed to have no problems when requests were made from the gmodules server. However, it seems Google has plugged that hole and they now detect requests from gmodules.com as automated requests as they would any other server. Now the requests have to be made directly by the website, so caching the PageRanks was necessary for this to happen.

About GeekLad

Geeklad is a technology enthusiast and programming hobbyist. Occasionally he will put together useful little bits of code (be it JavaScript or PHP) and share them with the world. He also enjoys creating and sharing howtos, describing how to do the things people want to do with their computers.
Tagged , , . Bookmark the permalink.
  • Thanks for the endorsement. And you are correct, it is harmless. 😀

  • Nice plugin. I saw a couple of badges from other sites, but they seem a bit shady. Lots of scammers waiting to prey on innocent users. This one seems harmless.

  • So where is the disaply on your site?

  • At this moment in time, I have it way down in the bottom right corner. There's a lot of scrolly to get through to see it.

  • Impressive. Is there a way to not use it as a widget? It'd be nice to have on a page such as “Advertise” so the person wanting to perform business sees you have a developed website.

    If this is offered, I might be tempted to try it.

    Either way, awesome plugin!

  • So you want to be able to just display the badge on a particular page or
    pages of your choice? I'll have to see if I can modify it to allow you to
    display it with a particular tag/HTML comment within a post/page. Thanks
    for the suggestion.

  • I've added the feature you requested. To display the PageRank within a post/page, just use the following comment where you want the badge to be displayed:

    <!–pagerank–>

    I've also updated the post with this information.

  • Pingback: WordPress Plugin Releases for 01/09 | Weblog Tools Collection()

  • Kim

    Check the live pagerank (multi-datacenters) of your website for free at MultiDC PageRank Checker

  • Pingback: WordPress Plugin Releases for 01/09 | Tips Wordpress()

  • Nice! I'll be looking into it later. I'm going snowboarding this weekend! Woo. =]

  • Pingback: Latest Wordpress Plugins #3 | The Blogger Source()

  • Kim

    Add a free and live PageRank Plug-In to your website from –
    [ tools.khrido.com/webtools/addon-pagerank.aspx ]

  • Snowboarding is the best. I love it. Let's stop global warming to save this sport.

  • skiresort

    Nice topic, page rank is very important in a site.

  • thank

  • AD

    Really nice! it was what i wanted…

  • Gabriel

    Can this widget be seen only by the administrators when they are logged in?

    Gabriel

  • No, it will only appear within posts or as a WordPress widget.

  • jaampool

    Hi there I encourage all of you to leave comment here in Disqus…

  • hey, thanks for the plugin..
    it looks neat and clean. and btw, i have a query..
    is it possible to put this plugin in my post popular pages container, so that it'll display the pr of all the popular pages??
    regards,
    Custom Term Paper

  • Thanks is a very usefull plugin

  • PR doesn’t have have to do with SEO..
    although it’s a factor to consider..

  • johnjonatan

    Thanks for the knowledge on…….
    search engine optimization

  • johnjonatan

    Hi… that was great stuff.. I really like reading on this subject Could you tell me more on that… I love to explore
    search engine optimization

  • golfman_story

    Great post, really help me alot. Thanks.

    http://landscaping-ideas.the-mnm.info

  • Pingback: WordPress PageRank Widget Plugin | Wood TV Stand()

  • My pagerank from you is still N/A why ?

  • Are you using the latest version of the plugin? Some of the earlier
    versions had problems that have been fixed in the latest.

  • This is quite impressive, I am pleased to read this post, keep posts like this coming, you totally rock!
    Cheers,
    gadgettechblog.com

  • I noticed today that the widget was causing some errors?? on my page

  • Try upgrading to the latest version and let me know if you're still
    experiencing issues.

  • mwgod

    I use this to extend my experience as “Virus Buster” on my office

  • Nice plugin but people should not be too hooked on PR as it plays only very little to the ranking of your site.
    I have some sites are extremely well on a fairly competitive keyword with no PageRank.

  • Agreed. Some of my pages are top-ranking for some queries, with little more
    than a 0 PR.

  • Thanks for this great little plugin, unfortunately will have to build a bit of a pagerank up first before I use it to avoid embarassment lol

  • great tips..i will do this on my blog

  • No, it will only appear within posts or as a WordPress widget.

  • Pingback: Old Post Promoter | Services For Seo()

  • Pingback: 8 Plugin Lumayan Keren Untuk Wordpressmu | MOBLOGGER UNITED()

  • wow good pagerank widget for wordpress blog

  • Awesome post thank you for this!

  • awesome widget Ill use it on my authority sites

  • I’m not sure what would cause that. Have you run into problems installing
    other plugins?

  • Anonymous

    Thanks for sharing this great article! I feel strongly about it and love learning more on this topic.
    Business Loan

  • Definitely fantastic weblog I’ll certainly be returning to check it each day in the future

  • psd to wordpress

    Show PageRank of your website WordPress. Forget complicated PageRank other plugins that require modification of some
    code templates with PHP. This plugin simplifies the display of your PageRank, simply show up as a widget. Display your PageRank on a domain level or individual level page.

  • is this plgin displays our website pagerank?

  • WordPress is a web based software program to create blog or website. It is a nice information about the
    WordPress PageRank Widget Plugin. This plugin show your pagerank of WordPress website.

  • Excellent,i appreciate your article which is about latest technologies