Bloggers used to add Alexa widget on their website to display the page rank. There are so many plugins available especially for WordPress to show the Alexa rank. However actually we don’t need any additional plugin for that. We can enable it by adding a simple and small JavaScript on the webpage.

Add the following code where ever you need to show the rank on your website:

<a href="http://www.alexa.com/siteinfo/yoursite.com"><script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/t/a?url=yoursite.com"></script></a>

alexa-rank-only

Just replace yoursite.com with your domain name in the above code. This will display the website rank only.

(Also see: Alexa Ranking No Longer Offers Free Services)

In order to display rank with the back-link count use the below code.

<a href="http://www.alexa.com/siteinfo/yoursite.com"><script type="text/javascript" src="http://xslt.alexa.com/site_stats/js/s/a?url=yoursite.com"></script></a>

alexa-rank-link

Here also replace yoursite.com with your domain name.

Categorized in:

Webtips,

Tagged in:

, , ,