Alexa Ranking Script

Status
Not open for further replies.
money mafia, please check earningblog.com now, got the same error as ty180sx. please help..
 
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! :D
 
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! :D
ty180sx, can you please guide me on how to place this code in the wordpress? Thanks in advance. :)
 
ty180sx, if you still around here, please reply me, thanks.
 
Nice script, but would this pull the alexa records from the same ip?
 
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."
 
cybernac,

do we have to put this code?
session_start();

from your script "If your using persistant sessions, you probably already got this."
and yes, I don't understand what does it means. :D

If I put that code I will get this error:
"Cannot send session cookie - headers already sent "

If I remove it then it goes smoothly
the problem is I don't know whether the script works or not :D

I tried it on wordpress, place all code on header
And I tried to put it on single .php file
all are giving me the same result as above.

Please inform me more, thanks
 
Cybernac, what do you use xenu for? I thought it was used to check for broken links.
 
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."
do you know where to put this code on wordpress? I need to copy all the content in the file and paste it?
 
des,

my wp site didnt increase in rankings, so maybe it was entered wrongly, thats why i didnt tell you how i put the code in :P

Cybernac > how to implement this is WP ?
lol
 
Yes, Xenu is a broken link checker (I realize now that it would use my own IP address for hits when I use this.) I don't deny that I still have a lot to learn.

Alexa ranking still increasing...remember this is increasing due to regular traffic that does not have the Alexa toolbar installed.

MoneyMafia: Can you explain how to implement the code? I just had my cousin do it for me as he is the tech guy. I wish he'd join the damn forum. LOL!!
 
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!


Please post your script for "Compete.com" as well. I'll be interested.
Thank you.:)
 
Version 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'>";?>
 

Attachments

Thank you very much moneymafia, +++
I tried it before directly on the theme file :D

I implement the script using your guide, and so far it seems good.

Can you give a tips to put the code on a simple .php or html page?
Let say on a single landing page?

Thanks again.
Cheerz
 
Version 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'>";?>
thanks a lot, will try this later on, my server is currently down. :S
 
Status
Not open for further replies.
Back
Top