Hello everyone, I am looking for a software program or a php script that searches your website finds your web pages and uses the web page extension as the keyword (example - www.mysite.com/my-page.html) in this case my page being the keyword then the script or program checks where your pages rank in Google, Live, Ask, Yahoo and other powerful search engines for that keyword. Basically the program or script spiders the website finds all of the pages then generates the keywords going by the extension (as per example above) then finds your ranking. Any help would be appreciated. Thanks Joseph
Hi josephfrancis, You can use this code, I have find it form codingforums.com for you: This is a code that will store the keyword a person used on google to find your site: <?php // Get The URL and use parse_url to get an array of info about it $url = parse_url($_SERVER['HTTP_REFERER']); //If from Google Get query & Keywords if ($url['host'] == 'www.google.com') { $query = $url['query']; $param_array = explode('&',$query); foreach ($param_array as $param) { if ($param{0} == 'q') // if first char is q, it's your google query. { $word_string = substr($param, 2); // strip 'q=' } } $word_string = str_replace('"', '', urldecode($word_string)); $words = explode(' ', $word_string); echo "<pre>\n"; print_r($words); echo "</pre>\n"; } else //If not from google tell them so { echo "you are not coming from google"; } ?> Code (markup): I hope this code can help you
Seo Soft is certainly the best tool for keywords simple, fast, easy to use, unlimited,show graphs, and 100% free http://www.webmaster-rank.info/?free_seo_software