- Live Example (no longer active) - Where's it Rank?
- Download Source: https://moz.com/files/scripts/whererank-source.txt
Installation is simple: upload the file to a folder on your webserver that executes PHP and give it a .php extension.
I know there's a whole host of features this script could have that it doesn't, such as returning results from .co.uk or searching engines other than Google, but that's partially why I offered up the source code. I figured if you needed a very specific feature you could download the source and muck with it yourself. If you use the script on your site a link back is always appreciated, if not that's cool too.
Cool tool, no problems here Matt.
It's funny, no matter how much you explain, sometimes it's just not enough.
nice tool matt, does what it says on the tin.
Thanks Matt, I have been looking for something like this for a while.
I'm surprised to see that some peeps aren't as appreciative. It doesn't cost any money, right? ;-)
It works fine for me! thanks matt! it's simple but works! cool thanks for the share!
Well said eCopt. No complaints here, thanks for that Matt, does exactly what you said it would :D
i like it! it's on my tool bar. thank you!
for something that you did in an hour and it's free, i like it. plus the source code is there is people want to tinker with it and besides. i didn't see them make one and let the public have it ;)
Scraping Google is against the law - you can go to jail for it. I'm going to tell Mr Cutts about you.
Surely being an evil monkey you'd blackmail him for (green) bananas rather than turn him over to the authorities?
Nice tool, took me a second or two to realise the canonicalization issue, once I did I saw what I was looking for.
When tracking rankings, should I turn off personalized results? What's the seo'ers opinions?
I have made modifications to script. I hope that there is not any problem with it. In Spain we are making an aid of positioning and I have used it to know the position the participants. The modification is in: https://habitaquo-seo.blogspot.com/2007/04/buscar-tu-posicin-habitaquo-en-google.html
I'm testing this script out, one note to pass on to the community, the bookmarklet aspect of the code may require some added love to work properly. My hack:
//hack to ensure SCRIPT_URI outputs properly
$_SERVER['SCRIPT_URI'] = 'https://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME'];
Great tool thanks Matt.
If you wanted to speed the code up a bit, you could add the attribute num=100 to the search url so that Google returns the full first 100 results immediately.
That way you'd only get one page from Google instead of up to 10.
You'd also have to remove the paging code.
I've heard that displaying 100 results at a time instead of 10 affects the rankings
It does. When displaying 100 results at a time, you will see more indented listings.
Sorry for the late response, but I'd like to download the source code at
https://www.seomoz.org/blog/free-php-script-for-download-wheres-it-rank
But unfortunately it's not available.
You're a godsend!
Here I was counting results in SERPs like a chump ;)
Um. I feel rather stupid but I'm not seeing a Rank number. It just takes me to the Google serps page showing the first 10 results. What am I doing wrong?
Hi Lee.
Thats good for you then.
If the tool finds your site in the top 100 it will take you to the page that your site is on. E.g if your 85th it will display the page showing results 81-90.
It takes you to the page where the results are found, which may be on the first page. Do a search for something that you know may be further back in the results, say you know you are on page 5 of the SERPs, then you should see the results page again, but it will be for results 51-60. Then if your result shows up 4th down, you know you are in the 55th position.
(I think all my math is correct, but it is still a little early so take it with a grain of salt ;)
Thank you. That's more clear. I've tried more examples and it worked 2 out of 5 times for pages I track. Once the tool showed results 31-40 and the actual result was ranked 25. I tried it again just now for the same combination and got a "not in top 100" result. I do show results doing a manual google search - I know - different databases. Anyway, just saying - it's an interesting tool for a quick & dirty ranking but don't take the results to the bank.
Thanks Matt. Despite the tool not working the way some would like it to work I think it's great and very useful as is and I appreciate you're giving us the code. I've been wanting to see something like this for awhile without even realizing it.
you nailed it eCopt.
it works 100% here, thanks Matt :)
What's the situation with scraping Google search results? Are they OK with that?
This script isn't doing any serious scraping so I don't think google will care. They've probably got better fish to fry.
I was concerned about scraping as well. Google has specifically said they hate scrapers
Google does not recommend the use of products such as WebPosition Gold™ that send automatic or programmatic queries to Google.
I'm going to look into modifing this to use the Google API.
Good idea. Please let us know when you release the improved tool.
Google returns very different results when you use the API
sweet tool! simple and does the job.
sure beats clicking through results by hand
Thanks for the tool, i appreciate the 'lack' of features, in my opinion that is actually a feature of the tool.
Too often tools get bogged down with too many options....
Thanks, nice tool. An easy and fast way to find ranking results for a specific url's ranking on a specific keyword. It works fine for me and it's FREE!
Nice tool Matt. This can definitely come in handy down the road!
Is this what you called white hat gadget marketing?
Since the downloader can simply delete all those about seomoz.com embedded in the code.
This tool is not working for me.
I entered keyword for which I'm sure I rank in top 10 and your tool says that domain is not in top 100.
And it is pretty slow.
sucks to be you!
oatmeal this is tyler dewitt, don't know if you herad of me or not, but I'm a seo, and programmer, there is a problem with your tool, it works great oatmeal, but did you forget that not every datacenter is the same.
Just a helpful hint, when the keyword is found, make sure when it redirects to google, its pull the search results from the same datacenter that your tool is.
The speed is fine, but zokiii is right, read more into google datacenters, or talk to rand about it, I'm sure he knows the datacenters, and a lot of the datacenters have unique ips you can use, your a programmer you know what to do :)
Nice tool though, I might put it on my website :).
Regarding datacenters:
Oatmeal, this is Kid Disco. Don't know if you heard of me or not, but I'm really cool and there is a problem with your tool. It works great Oatmeal, but it doesn't check search engines other than Google, like Yahoo and Search With Kevin.
Just a helpful hint, it doesn't return results from Google.co.uk and there are a bunch of other very specific features that it doesn't do that I want it to do.
If you are going to release the source code, you should also have an extensive tutorial for those of us who do not know what PHP and HTML is.
Oh, and the tool doesn't work because it says my exotic plants site isn't in the top 100 for poker.
Nice tool though. I might use it if I was a Scorponok.
I love it, thumbs++.
hahahah..oh i'd thumb that comment up a hundred times if i could
Heh. Jesus, is that you?
Nice.
Hey, Kid Disco, this is Jane. You're an ass, but you're a funny ass. I don't know why you aren't ranking when I search for "asshat."
Funny comment :P
Hi Jane, this is Kid Disco. I should be ranking #1 for asshat but Oatmeal's tool must not be working right.
LOL... I need to stop. Now. :P
Hey! I was just praising the community here for being so above the Digg culture and here you are, bringing us down... For shame, sir.
(OK, it was kinda funny, though)
We are still above the Digg culture because we:
a) can spell
b) wash
c) know how to use both punctuation and nail-clippers
:D
W-a-s-h? What's that?
That's awesome.
there are a bunch of other very specific features that it doesn't do that I want it to do.
Well, it is a free script but im sure if you ask politely Oatmeal will give you your money back ;)
Hey sorry man, I re read the message, I kind of sounded like a smart a***, but its a good tool, but I didn't know if you was aware of that or not, I'm sure you was, but its a good tool man, what I like about them datacenter search tools is you can find out what keywords are where, I have one keywords that is getting over 14k searches per day, and its on the 4th page, but in some areas its in other places, then one datacenter its bouncing up, and down, but its a good tool, highly recommedned.
Tyler - long time no see! Glad to have you on the blog. With regards to Matt's piece of code, I think he's just trying to do something simple with it and for programmers who want to extend the functionality, he's offered the code free. Definitely some good ideas you've got - if you do implement them, link to it - I bet the folks here would love to see it :)
LOL yea, yea its a great piece of code, I agree open source is great, I was going to go to the SES meeting new york, but don't quite have the cash :( right at the momeny, speaking of it has been going back into my company like crazy, but I have been working on a new site design, well I hired a graphics designer, so it should be great.
but yes taht is a great tool, I love all your tools that you guys have here, well hey rand I look forward to seeing you around, I'll be on the blog quite often.
great stuff :)
Oh, Matt. I can just *hear* you saying that, too.
did you make sure to use the www or non www depending one which one is ranked? I know I made that mistake the first time.
It doesn't check to see if your domain is ranked, it checks to see if the exact URL you entered is ranked.
The script can not work correctly. No matter what and how did I try, the only message I got was "Not found in top 100 search results ". Maybe this tool has already been banned by Google.