Behold the Search Engine Eyes!

Let’s take a moment and chat. No secrets or technique, Well veiwing what search engine see is a cool thing isn’t it?

The search engines index your website by using their crawlers or spiders. Search engine spiders are not really crawling spiders but little software bots do nothing but visits the URLs and check your links and follow them. Once the page are crawled and recorded it begins page indexing until your site appear on search engine like google, yahoo and msn.

When you visit a web site, your browser sends the user-agent string to the server hosting the site that you’re visiting. This string indicates which browser you’re using, its version number, and details about your system, such as operating system and version. The search engine cloaking technology is able to tell the difference between a human and a spider based from user agent. How do we detect user-agent? There are several ways to detect user-agent using a programming language like php, asp, javascript, etc. View example code below.

PHP:
$UserAgent = $_SERVER['HTTP_USER_AGENT'];
echo "Your User-Agent is: $UserAgent";
?>

ASP:
<% @ Language=VBScript %>
<% UserAgent = Request.ServerVariables("HTTP_USER_AGENT") %>
Your User-Agent is: <%=UserAgent%>

JavaScript:

Since we already know how to determine user-agent, let’s do user-agent sniffing! Sounds interesting ?

The term user-agent sniffing refers to websites that show different content when viewed with a certain user agent. On the Internet, this will result in a different site being shown when browsing the page with a specific browser.

If you have IE6, you can use Internet Explorer User Agent Changer from Sourceforge.net or if you are a Firefox user you can download User Agent Swticher plug-in by Chris Pederick.

Once you installed the user-agent switcher, please add the following user-agent for the big 3 search engines:

Google:
Description: Googlebot
User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
App Name: Googlebot
App Version: 5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Platform: +http://www.google.com/bot.html
Vendor:
Vendor Sub:

Yahoo:
Description: Yahoo
User Agent: Mozilla/5.0 (compatible; Yahoo! Slurp;http://help.yahoo.com/help/us/ysearch/slurp)
App Name: Yahoo
App Version: 5.0 (compatible; Yahoo! Slurp;http://help.yahoo.com/help/us/ysearch/slurp)
Platform: http://help.yahoo.com/help/us/ysearch/slurp
Vendor:
Vendor Sub:

MSN:
Description: MSNBot
User Agent: msnbot/1.0 (+http://search.msn.com/msnbot.htm)
App Name: MSNBot
App Version: 1.0 (+http://search.msn.com/msnbot.htm)
Platform: +http://search.msn.com/msnbot.htm
Vendor:
Vendor Sub:

Once you are finished adding the 3 user-agent please view the demo page, visit Behold the search engine eyes! .

Focus on the bold text! Try to view it with or without user-agent

Search engine cloaking is a great way of hiding the source code that’s enable you to rank high on the search engines because when your competition visits they’ll be sent to the regular page and not the page that’s giving you those good rankings. Search engine cloaking is also used in web designing but it is consider as poor practice in Web 2.0 web sites, since it encourages browser specific design.

• • •

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>