Google PageRank™ button code snippets

Use this code snippets on your website or blog to show your visitor the PakeRank from you site.
Don't use the code for the single page on other several pages without to change the value of the URL (f.e. showing the PR from you main page on subpages).

Some rules for using this free PageRank tool

  • Use the button only for the URL from the page where the PageRank button is placed. It's not allowed to use the button for listing on link or directory page.
  • Don't use this tool on websites with illegal or pornographic content
  • Don't use other URL's then the one from the page where the button is placed (to get a higher PageRank)
  • You may use all kind of web address (URL) but take care about the maximum length of 100 characters.
  • Use the html code without any changes on your website(s), the only part thats its allowed to change is "www.yoursite.com". If you change the rest of the code, the service will be suspended for your website for ever!
  • We preserve us the right to block the access to the Pagerank database (in case of any abuse)
Code for a single webpage (f.e. the homepage)

<a href="http://www.free-pagerank-checker.com/" title="Free PageRank checking tool" target="_blank"><img src="http://www.free-pagerank-checker.com/pr.php?url=www.yoursite.com" border="0" alt="PageRank" /></a>
Code for multiple webpages (using HTML and PHP)

<?php
$url = $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];
echo "<a href=\"http://www.free-pagerank-checker.com/\" title=\"Free PageRank checking tool\" target=\"_blank\">
<img src=\"http://www.free-pagerank-checker.com/pr.php?url="
.$url."\" border=\"0\" alt=\"PageRank\" /></a>";
?>
Code for a sitewide usage (client side code using JavaScript)

<a href="http://www.free-pagerank-checker.com/" title="Free PageRank checking tool" target="_blank">
  <script type="text/javascript">
  document.write("<img src=\"http://www.free-pagerank-checker.com/pr.php?url="+document.URL+"\" border=\"0\" alt=\"PageRank\" />");
  </script>
</a>
New! Code for hosted Blogs (WordPress, Blogger, etc.)

<a href="http://www.free-pagerank-checker.com" title="Free PageRank button"><img src="http://www.free-pagerank-checker.com/pr.php" border="0" alt="PageRank" /></a>
Code for your Wordpress Blog (f.e. in the files sidebar.php or footer.php)

<?php
$url = (is_home()) ? $_SERVER['HTTP_HOST'] : get_permalink();
echo "<a href=\"http://www.free-pagerank-checker.com/\" title=\"Free PageRank checking tool\" target=\"_blank\">
<img src=\"http://www.free-pagerank-checker.com/pr.php?url="
.$url."\" border=\"0\" alt=\"PageRank\" /></a>";
?>

Don't use this code for your hosted WordPress blog site.

If you have suggestions about this service (for example different colored images), than let me know. Post your suggestions and/or feedback at this webmaster forum.