<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Ganesh H S</title>
	<link>http://ganeshhs.com</link>
	<description>Thoughts on open source technologies, search engine optimization, website security</description>
	<pubDate>Wed, 12 May 2010 11:08:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Project WebAggregate - Transforming eduation</title>
		<link>http://ganeshhs.com/webaggregate/project-webaggregate-transforming-eduation</link>
		<comments>http://ganeshhs.com/webaggregate/project-webaggregate-transforming-eduation#comments</comments>
		<pubDate>Wed, 12 May 2010 11:07:03 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[webAggregate]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/webaggregate/project-webaggregate-transforming-eduation</guid>
		<description><![CDATA[I have started a project called WebAggregate .
What is the intention of WebAggregate?
&#160;
Web Aggregate stand is to transform current education system.
Create a eco-system of working professionals supporting students.
Creating entrepreneurs, innovation, job opportunities, and spreading happiness.
People who will mentor the students, will also get opportunity to grow to the next level in their career taking the [...]]]></description>
			<content:encoded><![CDATA[<p>I have started a project called <a href="http://WebAggregate.com" target="_blank">WebAggregate</a> .</p>
<p class="mainTitle">What is the intention of WebAggregate?</p>
<p class="fluveenDetails">&nbsp;</p>
<li>Web Aggregate stand is to transform current education system.</li>
<li>Create a eco-system of working professionals supporting students.</li>
<li>Creating entrepreneurs, innovation, job opportunities, and spreading happiness.</li>
<li>People who will mentor the students, will also get opportunity to grow to the next level in their career taking the support structure of webAggregate.</li>
<p>See a future of entrepreneurs, people supporting each other, that&#8217;s what i always wanted to create. How much can i do alone? This project is not my project, its a community project, where all working professionals like us will support students/freshers in their career.</p>
<p>Support structure -</p>
<p>There are 10+<a href="http://webaggregate.com/users/coreteamleaders" target="_blank"> Core leaders </a>who had similar intention and they have lot of passion they dedicate their time in weekends and taking actions related to intention of WebAggregate.</p>
<p>There are Core Team &amp; Mentors few people work in <a href="http://webaggregate.com/faq#wa-work" target="_blank">background process</a> and few work in <a href="http://webaggregate.com/faq#wa-work" target="_blank">frontend process</a></p>
<p>Initially i was thinking we should connect individuals who are working, now i am thinking we should connect alumni smaller communities and connect them as one entity. With this intention i spoke to Mr Arun, who is our college senior, Mr. Shreedhar Sir  HOD Computer Science department and finally Lakshya team who is doing similar work as part of WebAggregate.</p>
<p>It is a awesome experience to make a difference in others life, we always wanted some seniors to help us when we needed their support and also when we needed their mentoring, join hands by <a href="http://webaggregate.com/signup" target="_blank">signing up</a> in WebAggregate.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/webaggregate/project-webaggregate-transforming-eduation/feed</wfw:commentRss>
		</item>
		<item>
		<title>Team Performance Award - Yahoo! Finance team award</title>
		<link>http://ganeshhs.com/yahoo/spot-award-yahoo-finance-team-award</link>
		<comments>http://ganeshhs.com/yahoo/spot-award-yahoo-finance-team-award#comments</comments>
		<pubDate>Mon, 30 Nov 2009 19:26:19 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/yahoo/spot-award-yahoo-finance-team-award</guid>
		<description><![CDATA[I got my first Yahoo! team award  on November 17th 2009. I realized after my school days this is the first award i am receiving at work place, i worked in start up (almost 3 years) if the performance is good they generally give a increase in salary hike, but more than money some times [...]]]></description>
			<content:encoded><![CDATA[<p>I got my first Yahoo! team award  on November 17th 2009. I realized after my school days this is the first award i am receiving at work place, i worked in start up (almost 3 years) if the performance is good they generally give a increase in salary hike, but more than money some times awards leave memorable moments of life.</p>
<p>Its been fun working at Yahoo!, i always loved working on SEO and i got that opportunity for Yahoo! Health, Yahoo! Beta Cricket, Yahoo! weather in 2008, later i have been working as local security engineer for media group projects along with being Backend Engineer, and july 2009 now i moved to Yahoo! Finance.</p>
<p>I would like to acknowledge and thank  few colleagues -  Director of product management <a href="http://www.linkedin.com/pub/don-chennavasin/0/87/7b0" target="_blank">Don Chennavasin</a> , Engineering Manager <a href="http://in.linkedin.com/in/raghumocharla" target="_blank">Raghu M</a>, and Vivek Saraf Dedicated Security Engineer from who are always been source of inspiration.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/yahoo/spot-award-yahoo-finance-team-award/feed</wfw:commentRss>
		</item>
		<item>
		<title>reset-mysql-root-password</title>
		<link>http://ganeshhs.com/mysql/reset-mysql-root-password</link>
		<comments>http://ganeshhs.com/mysql/reset-mysql-root-password#comments</comments>
		<pubDate>Tue, 29 Sep 2009 09:31:25 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/mysql/reset-mysql-root-password</guid>
		<description><![CDATA[To make password more secure i choose  password with alphabets(small and caps), numeric and symbols (!#..),
and sometimes i end up forgetting such passwords.
Can we recover lost mysql root password or is there any way to change mysql root password?
When i was a fresher i have seen myself  when not able to access mysql, i used [...]]]></description>
			<content:encoded><![CDATA[<p>To make password more secure i choose  password with alphabets(small and caps), numeric and symbols (!#..),<br />
and sometimes i end up forgetting such passwords.</p>
<p>Can we <strong>recover lost mysql root password</strong> or is there any way to <strong>change mysql root password</strong>?<br />
When i was a fresher i have seen myself  when not able to access mysql, i used to uninstall and reinstall mysql server.<br />
Well is there any better way to recover/change/reset mysql root password which is lost? Answer is yes, if you are a sudo user.</p>
<p>Step1: Stop the mysql process</p>
<blockquote><p>sudo /etc/init.d/mysqld stop</p></blockquote>
<p>step2: Start mysql in safe mode and skip the check against user privileges.</p>
<blockquote><p>sudo /usr/bin/mysqld_safe &#8211;skip-grant-tables &amp;</p></blockquote>
<p>Step3: Since mysql is running in safe mode and we have skiped user privileges, now ogin to mysql without using password and use mysql database , update the password and flush the privileges.</p>
<blockquote><p>mysql -u root<br />
use mysql;<br />
update user set password=PASSWORD(&#8221;newpassword&#8221;) where User=&#8217;root&#8217;;<br />
flush privileges;</p></blockquote>
<p>Step4: Let us test by logging in to mysql using the password. We need to stop the earlier started mysql process which is  running in safe mode with user priviliges check being skipped. Now start the mysql in normal mode and try logging in to mysql using the new password.</p>
<blockquote><p>sudo /etc/init.d/mysqld stop<br />
sudo /etc/init.d/mysqld start<br />
mysql -u root -pnewpassword</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/mysql/reset-mysql-root-password/feed</wfw:commentRss>
		</item>
		<item>
		<title>zend Lucene search part5 search engine results page formatting</title>
		<link>http://ganeshhs.com/zend-framework/zend-lucene-search-part5-search-engine-results-page-formatting</link>
		<comments>http://ganeshhs.com/zend-framework/zend-lucene-search-part5-search-engine-results-page-formatting#comments</comments>
		<pubDate>Wed, 18 Mar 2009 01:28:39 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[zend framework]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/uncategorized/zend-lucene-search-part5-search-engine-results-page-formatting</guid>
		<description><![CDATA[In the previous article Zend Lucene Search - part4 - Search Results Highlighting i talked about highlighting the keywords in search results.
In this article i will be writing about highlighting the keywords in search results and formating the output display format much similar to most search engines result page using the zend lucene search.

&#60;?phprequire_once ‘Zend/Search/Lucene.php’;

$queryStr= [...]]]></description>
			<content:encoded><![CDATA[<p>In the previous article <a href="http://ganeshhs.com/zend-framework/zend-search-lucene-part4-search-results-highlighting" target="_blank">Zend Lucene Search - part4 - Search Results Highlighting</a> i talked about highlighting the keywords in search results.</p>
<p>In this article i will be writing about highlighting the keywords in search results and formating the output display format much similar to most search engines result page using the <strong>zend lucene search</strong>.</p>
<pre name="code" class="php">
&lt;?phprequire_once ‘Zend/Search/Lucene.php’;

$queryStr= "php";

$snapshotTextLength = 155;

$query = Zend_Search_Lucene_Search_QueryParser::parse($queryStr);

$index = Zend_Search_Lucene::open("/var/www/lucene-data/blog-index");

$results = $index-&gt;find($query);

echo "Index contains ".$index-&gt;count()." documents.\n\n";

if($index-&gt;count())

{

$count = 0;

displayResults($results, $snapshotTextLength);

}

// Format and display the search results

function displaySearchResults(&amp;$results, $snapshotTextLength)

{

if(is_array($results) &amp;&amp; count($results))

{

foreach ($results as $result)

{

$data[$count]["article_url"]         		= $result-&gt;url;

$data[$count]["article_title"]        		= $query-&gt;highlightMatches($result-&gt;title);

$data[$count]["article_description"]        = $query-&gt;highlightMatches($result-&gt;contents);

$data[$count]["article_created_date_time"]  = $result-&gt;postedDateTime;

$data[$count]["article_id"]             	= $result-&gt;articleId;

$count++;

// title of each article with URL as link

$searchResultsContent .= sprintf("<a href="http://ganeshhs.com/wp-admin/%s">%</a>&#8220;, $data[$count][&#8221;article_url&#8221;], $data[$count][&#8221;article_title&#8221;]);

// snapshot of the description

$searchResultsContent .= sprintf(&#8221;%s&#8221;, substr($data[$count][&#8221;article_description&#8221;], 0, $snapshotTextLength));

// url

$searchResultsContent .= $data[$count][&#8221;article_url&#8221;];

// leave 2 lines after each search results

$searchResultsContent .= &#8220;&lt;br&gt; &lt;br&gt; &lt;br&gt;&#8221;;

}

}

else

{

$searchResultsContent = &#8220;No results found, try using different keywords&#8221;;

}

return $searchResultsContent;

}

?&gt;</pre>
<p>This program is similar to  <strong><a href="http://ganeshhs.com/wp-admin/Zend%20Lucene%20Search%20-%20part4%20-%20Search%20Results%20Highlighting">Zend Lucene Search - part3 - retrieving the indexed data</a> </strong>, the only difference is i am formating the display format, the output of this program displays the output much similar to what you get in the search engine result page of google.com or search.yahoo.com</p>
<p><strong>Related articles:</strong><br />
<a href="http://ganeshhs.com/zend-framework/zend-search-lucene-part1" title="zend lucene search - creating index" target="_blank">Zend Lucene Search - part1 - creating index</a><br />
<a href="http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing" title="zend lucene search - real time indexing" target="_blank">Zend Lucene Search - part2 - Real time indexing</a><br />
<a href="http://ganeshhs.com/zend-framework/zend-search-lucene-part3-retrieving-the-index-data" title="zend lucene search - retrieving the index data" target="_blank">Zend Lucene Search - part3 - retrieving the indexed data</a><br />
<a href="http://ganeshhs.com/zend-framework/zend-search-lucene-part4-search-results-highlighting" title="Zend Lucene Search - part4 - Search Results Highlighting">Zend Lucene Search - part4 - Search Results Highlighting</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/zend-framework/zend-lucene-search-part5-search-engine-results-page-formatting/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enter the world of PERL</title>
		<link>http://ganeshhs.com/perl/enter-the-world-of-perl</link>
		<comments>http://ganeshhs.com/perl/enter-the-world-of-perl#comments</comments>
		<pubDate>Sat, 07 Feb 2009 21:53:08 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/perl/enter-the-world-of-perl</guid>
		<description><![CDATA[Its been 4 years since i started my career, PERL was one of the theory subject in 7th semester B.E. All these years I enjoyed coding in PHP a lot  and its very exciting to work on it.
But in Yahoo! i just see lot of very interesting tools been developed in PERL,  i [...]]]></description>
			<content:encoded><![CDATA[<p>Its been 4 years since i started my career, PERL was one of the theory subject in 7th semester B.E. All these years I enjoyed coding in PHP a lot  and its very exciting to work on it.</p>
<p>But in Yahoo! i just see lot of very interesting tools been developed in PERL,  i always thought why couldn&#8217;t it be coded in PHP? may be since i was from PHP programmer i always asked that question myself, but i see lot of my colleagues do lot of coding in PERL, pretty excited about it but not want to give up comfort zone, finally after 11 months i gave a try, i completed my first package done entirely coded in PERL.</p>
<p>I just entered the world of PERL, if you are a PHP programmer and feel PERL is not what you want to learn since you know PHP? I would recommend you give a try, you would love both PHP and PERL.</p>
<p>The best book for beginners in PERL is -<br />
<a href="http://oreilly.com/catalog/9780596101053/ " target="_blank" rel="noindex,nofollow">Learning PERL</a></p>
<p>Related links -<br />
<a href="http://www.perl.org/ " target="_blank" rel="noindex,nofollow">PERL</a><br />
<a href="http://cpan.perl.org/ " target="_blank" rel="noindex,nofollow">CPAN - The Comprehensive Perl Archive Network</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/perl/enter-the-world-of-perl/feed</wfw:commentRss>
		</item>
		<item>
		<title>disallow website search results</title>
		<link>http://ganeshhs.com/search-engine-optimization-seo/disallow-website-search-results</link>
		<comments>http://ganeshhs.com/search-engine-optimization-seo/disallow-website-search-results#comments</comments>
		<pubDate>Sun, 01 Feb 2009 07:22:36 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/search-engine-optimization-seo/disallow-website-search-results</guid>
		<description><![CDATA[We generally index website search results in search engines with intention to get more back links from Search Engine results page (SERP).
So we should use robots.txt to disallow website search results pages  crawling that don&#8217;t add much value for users coming from search engines. Its one of the quality guidelines Google mentions in webmaster [...]]]></description>
			<content:encoded><![CDATA[<p>We generally index website search results in search engines with intention to get more back links from Search Engine results page (SERP).</p>
<p>So we should use robots.txt to disallow website search results pages  crawling that don&#8217;t add much value for users coming from search engines. Its one of the quality guidelines Google mentions in <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=35769" target="_blank" rel="noindex,nofollow">webmaster guidelines</a>. Its one of the important SEO checklist we should track.</p>
<p>Possible reasons:</p>
<ol>
<li><strong> Duplicate content</strong> -<br />
Search results holds a snippet of article title, short description and link to that article and in contrast we also have article page which has article title, article description. So if search bot crawls search results and individual article, it can potentially lead to duplicate content.</li>
<li><strong>Door way pages</strong> -<br />
Search results acts like a doorway pages to individual articles, doorway pages are one of the cloaking techniques that should be avoided.</li>
<li><strong>Search engine subsystem</strong> -<br />
Search engine as a whole strives to provide  unique results, clicking on the links(indexed website search pages) in search engine results page which in turn  takes to the website search results (running another search in website).</li>
</ol>
<p>Example -<br />
Disallow: /search?p=* in health.yahoo.com/robots.txt<br />
Disallow :/search in http://search.yahoo.com/robots.txt<br />
Disallow: /results in http://youtube.com/robots.txt</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/search-engine-optimization-seo/disallow-website-search-results/feed</wfw:commentRss>
		</item>
		<item>
		<title>SEO checklist robots.txt</title>
		<link>http://ganeshhs.com/search-engine-optimization-seo/seo-checklist-robotstxt</link>
		<comments>http://ganeshhs.com/search-engine-optimization-seo/seo-checklist-robotstxt#comments</comments>
		<pubDate>Sun, 18 Jan 2009 16:35:30 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/search-engine-optimization-seo/seo-checklist-robotstxt</guid>
		<description><![CDATA[In my earlier post i had posted about robots.txt and robots meta tag.
Following are the Search engine optiomization(SEO) checklist  related to robots.txt  -
1. robots.txt http status code 
Search bot (eg: googlebot) before crawling the website it will always requests robots.txt and understands the definition robots.txt and crawls the website locations which is allowed.  [...]]]></description>
			<content:encoded><![CDATA[<p>In my earlier post i had posted about <strong><a href="http://ganeshhs.com/search-engine-optimization-seo/robotstxt-robots-meta-tag" target="_blank">robots.txt</a></strong> and <strong>robots meta tag</strong>.</p>
<p>Following are the <strong>Search engine optiomization(SEO) checklist</strong>  related to <strong>robots.txt</strong>  -</p>
<p>1. <u><strong>robots.txt http status code </strong></u></p>
<p>Search bot (eg: googlebot) before crawling the website it will always requests robots.txt and understands the definition robots.txt and crawls the website locations which is allowed.  So its always important for webmaster to check the http status code of the robots.txt of the site and make sure it returns http status code 200 or http status code 404.</p>
<p>Why is that so important to check the http status code?</p>
<p>Search bot before crawling requests for robots.txt-</p>
<p>If the http status code of 200 is returned, it reads and crawls the locations of website which is allowed.</p>
<p>If the http status code of 404 is returned, search bot goes ahead with its job with no restriction on website crawling.</p>
<p>If the page takes lot of time and  if there is no response code returns, search bot waits and after sometime it skips crawling because it always respects robots.txt and this can adversely affect the crawling of our website.</p>
<p>2. <u><strong>URLs restricted by robots.txt </strong></u></p>
<p>Consider the impact of following robots.txt definition</p>
<blockquote><p> User-agent: *<br />
Disallow: *</p></blockquote>
<p>It blocks all search bots to crawl the entire website, we should make sure we block only those areas which block.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/search-engine-optimization-seo/seo-checklist-robotstxt/feed</wfw:commentRss>
		</item>
		<item>
		<title>submit site to google yahoo dmoz msn</title>
		<link>http://ganeshhs.com/search-engine-optimization-seo/submit-site-to-google-yahoo-dmoz-msn</link>
		<comments>http://ganeshhs.com/search-engine-optimization-seo/submit-site-to-google-yahoo-dmoz-msn#comments</comments>
		<pubDate>Sun, 06 Jul 2008 08:11:17 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[Search Engine Optimization]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/search-engine-optimization-seo/submit-site-to-google-yahoo-dmoz-msn</guid>
		<description><![CDATA[You had a plan for a business, you need a website, now the website is done. What next?
How do you inform search engines that your website existed and inform them to index your website?
When i started working on Search Engine Optimization ( SEO )  for 3 ecommerce sites in 2006, this was the first [...]]]></description>
			<content:encoded><![CDATA[<p>You had a plan for a business, you need a website, now the website is done. What next?</p>
<p>How do you inform search engines that your website existed and inform them to index your website?</p>
<p>When i started working on <strong>Search Engine Optimization ( SEO ) </strong> for 3 ecommerce sites in 2006, this was the first question i had in mind.</p>
<p>Following are the ways of getting your website indexed by search engines -</p>
<ul>
<li><strong> Submit site to dmoz</strong> -<br />
Go to dmoz  - open directory project and <a href="http://www.dmoz.org/add.html" title="submit site to dmoz directory" rel="noindex,nofollow" target="_blank">submit site to dmoz </a>, search engines (like google, yahoo etc.) get the data from dmoz - open directory and they crawl the websites.</li>
<li><strong> Submit site to google</strong> -<br />
Go to google search and <a href="http://www.google.com/addurl/" title="submit site to google search engine" target="_blank" rel="noindex,nofollow">submit site to google search engine</a>, this will inform google to crawl your website.</li>
<li><strong> Submit site to yahoo </strong>-<br />
Go to yahoo search and <a href="http://search.yahoo.com/info/submit.html" title="submit site to yahoo search " target="_blank" rel="noindex,nofollow">submit site to yahoo search</a>, this will inform yahoo to crawl your website</li>
<li><strong> Submit site to live </strong>-<br />
Go to live search and <a href="http://search.msn.com/docs/submit.aspx" title="submit site to live search " target="_blank" rel="noindex,nofollow">submit site to live search</a>, this will inform live search to crawl your website</li>
<li><strong> <a href="http://ganeshhs.com/search-engine-optimization-seo/sitemaps" title="creating sitemaps" target="_blank">Create sitemap and ping search engines</a> </strong></li>
<li><strong> <a href="http://ganeshhs.com/search-engine-optimization-seo/seo-robotstxt" title="robots.txt" target="_blank">Mention the sitemap path in robots.txt</a><br />
</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/search-engine-optimization-seo/submit-site-to-google-yahoo-dmoz-msn/feed</wfw:commentRss>
		</item>
		<item>
		<title>SEO - set preferred domain</title>
		<link>http://ganeshhs.com/search-engine-optimization-seo/set-preferred-domain</link>
		<comments>http://ganeshhs.com/search-engine-optimization-seo/set-preferred-domain#comments</comments>
		<pubDate>Fri, 04 Jul 2008 12:20:19 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[Google]]></category>

		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/uncategorized/set-preferred-domain</guid>
		<description><![CDATA[I always thought following links are same -
http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow
http://www.ganeshhs.com/search-engine-optimization-seo/noindex-nofollow
Above links leads to the same page, but it differs with www.
But search engine treats both links are different, i have seen in few cases where we link many a times we ignore www. and in some cases we do include www. in the links.
So what are the [...]]]></description>
			<content:encoded><![CDATA[<p>I always thought following links are same -<br />
http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow<br />
http://www.ganeshhs.com/search-engine-optimization-seo/noindex-nofollow</p>
<p>Above links leads to the same page, but it differs with www.<br />
But search engine treats both links are different, i have seen in few cases where we link many a times we ignore www. and in some cases we do include www. in the links.</p>
<p>So what are the impacts?</p>
<ol>
<li>Search engines keep both the versions of the URLs, when people click on search engine results links which leads to our site with different versions of these URLs, it will drastically affect the page rank and traffic.</li>
<li>These URLs look like different documents to crawlers and create excessive crawling on our website.</li>
</ol>
<p>How do we instruct search engine to treat both the URL&#8217;s as same, Google webmasters tool has a option to <a href="http://www.google.com/support/webmasters/bin/answer.py?answer=44232" title="Google Webmaster tool | Set the prefered domain" target="_blank">set the preferred domain </a></p>
<p>So  whats the advantage of <strong>set preferred domain </strong>? If i set my preferred domain as ganeshhs.com and next time if Google comes and crawls my website, and if it finds any link starting with www.ganeshhs.com it will follow it as ganeshhs.com and when Google displays my website links in search results it will show the links as ganeshhs.com</p>
<p>It also helps us to fix the external site referrals,  few guys started provide links to my website, if suppose their referral link is http://www.ganeshhs.com/category/search-engine-optimization-seo where as my actual article URL was http://ganeshhs.com/category/search-engine-optimization-seo and when google crawls our website through that referral link it will keep the right version of domain what we preferred.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/search-engine-optimization-seo/set-preferred-domain/feed</wfw:commentRss>
		</item>
		<item>
		<title>noindex nofollow</title>
		<link>http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow</link>
		<comments>http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow#comments</comments>
		<pubDate>Fri, 04 Jul 2008 11:26:13 +0000</pubDate>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		
		<category><![CDATA[Search Engine Optimization]]></category>

		<guid isPermaLink="false">http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow</guid>
		<description><![CDATA[HTML  tag tells robots not to index the content of a page, and/or not scan it for links to follow, keeping this metatag for pages which we don&#8217;t want to index, nor to follow the links on the webpage is helpful.
In some cases, we come across situations where we keep links to external sites. [...]]]></description>
			<content:encoded><![CDATA[<p>HTML <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> tag tells robots not to index the content of a page, and/or not scan it for links to follow, keeping this metatag for pages which we don&#8217;t want to index, nor to follow the links on the webpage is helpful.</p>
<p>In some cases, we come across situations where we keep links to external sites. But what are the impacts of this?</p>
<ol>
<li>Part of <a href="http://en.wikipedia.org/wiki/Page_rank" title="Page rank" target="_blank" rel="noindex, nofollow">page rank</a> is shared to external website -<br />
When we link to other websites, our part of our website page rank is shared to<br />
those external sites, and we may end up sending the search engine crawlers to other side.</li>
<li>Leading Search Engine Crawlers to crawl external website -<br />
Crawler entered our website to crawl more pages, it will help us to have more indexes in Search Engines, but what did we end up keeping external links, we created a way to Crawler to leave our website and crawl the external websites.</li>
</ol>
<p>We have to keep external links, but how do we prevent the above scenario -</p>
<li>If google.com is a external link, we could use &lt; a href=&#8221;http://www.google.com&#8221; rel=&#8221;noindex, nofollow&#8221; &gt; , when the crawler comes across this external link, it tells the crawler not crawl or follow that link.</li>
]]></content:encoded>
			<wfw:commentRss>http://ganeshhs.com/search-engine-optimization-seo/noindex-nofollow/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
