Home » Knowledge Base » SEO Scripts FAQ » How do I use a local version of Google in SEO Scripts?

Knowledge Base

How do I use a local version of Google in SEO Scripts?

Posted 2011-12-16 in SEO Scripts FAQ

By default, SEO Scripts searches www.google.com for results.

If you prefer to use a localized version of Google, for example www.google.de, you can make a few customizations to allow local results.

You will need to edit a few different files used for getting results. Modify the www.google.com to match the local Google server you wish to use.

In /klib/class.kWebRankSimple.php, around line 67-68:

            'url' => 'http://www.google.com/',
            'furl' => 'http://www.google.com/search?q=%s',

In /klib/class.kWebSearch.php, around line 44:

            'url' => 'http://www.google.com/',

In /klib/class.kWebSearch.php, around lines 50-51:

            'search_hosts' => array('www.google.com', '64.233.161.99'),
            'stats_hosts' => array('www.google.com', '64.233.161.99')

In /klib/class.kWebStats.php, around line 41:

            'url' => 'http://www.google.com/',

In /klib/class.kWebStats.php, around lines 47-48:

            'search_hosts' => array('www.google.com', '64.233.161.99'),
            'stats_hosts' => array('www.google.com', '64.233.161.99')

Once the changes are made, save and close the files and test your results.


Tags: google, local

 


77 powerful SEO scripts for under $100.

Real-time Backlink Rank Checker script.


Scriptalicious is in no way affiliated with myspace.com® or Google®. Google, PageRank™ and MySpace are the trademarks of their owners.