ty180sx, can you please guide me on how to place this code in the wordpress? Thanks in advance.des: i put it in index.php 2nd line.
so far no errors.
so shall monitor if rankings goes up,
as of now,
Country ranking is 23,782
World ranking is 949,896
let's see the Black Magic work!![]()
do you know where to put this code on wordpress? I need to copy all the content in the file and paste it?I use it on every page of my site. My Alexa rankings are going up quickly now. I do run Xenu every day so all of my pages do get hit.
I asked my cousin about this last question and this was his response...
"Because the "script" is invoked from a regular image tag, the source will be the visitor. conceptually, this should be better since instead of having 10000 hits from a single IP (your local computer, after hammering the toolbar to death), the hits are generated from your actual traffic."
Happy to report that in only 2 days my site has moved up 25,000 in Alexa using the Alexa script! It must be working...I haven't done anything else!!
Now we have a script for Compete.com - similiar to the Alexa one. Anyone interested I will post it here!
<?php
/* Short and sweet */
session_start();
function alexa($url)
{
$url="http://".$url;
$domain = "http://data.alexa.com";
$keylength = 14;
......................................................
<?="<img src='".alexa($_SERVER['HTTP_HOST'])."' height='0' width='0'>";?>
thanks a lot, will try this later on, my server is currently down. :SVersion 0.2
Added screen size and tool bar request to session so will look more real to alexa
Instruction to add it on WordPress blogs
1 Edit your index.php from wordpress root
Add the session and function here
PHP:<?php /* Short and sweet */ session_start(); function alexa($url) { $url="http://".$url; $domain = "http://data.alexa.com"; $keylength = 14; ......................................................
2 Edit your theme footer located in root/wp-content/themes/your_theme/footer.php and add this somewhere better right after copyright
PHP:<?="<img src='".alexa($_SERVER['HTTP_HOST'])."' height='0' width='0'>";?>