Monday 17 September 2012

Why we use robot.txt file in my website

robot.txt file:

A robot.txt file is represents a robots file that allows or disallow your website's content that you don't want to be indexed by Google search engine robots (also known as "bots"). By using robot.txt file on your website you can recover or improve your web pages by Google robot.txt. In your website, Google robots are indexed your all website contents, images or other files, you can allow or disallow Google robots according your robot.txt file. Example of your website robot.txt file:  
http://www.website_name.com/robots.txt

Note:

In your websites with multiple sub-domains, you have to add robots.txt file in each sub-domain with own robots.txt file. 

The following website url can helps you for create a robot.txt file:

http://www.seochat.com/seo-tools/robots-generator/
http://www.mcanerin.com/EN/search-engine/robots-txt.asp
http://www.submitshop.com/seo-tools/robots-txt-generator
http://multitoolbox.com/webmaster/robotstxt-generator/ 
http://tools.seobook.com/robots-txt/generator/

Friday 7 September 2012

What is google analytics

Google_Analytics:

Google provides a free website service, for webmasters to generate details about visitors statics on a website. That service of Google is also known as Google Analytics, which provide a analytic code for web pages. By using the Google Analytics we can track our website's webpages activity and performance.

Example of the Google_Analytic Code:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-Y']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

Note:

This script code is must be paste on the <head> part of the web page. If you have a website with 5-6 web pages, so also paste the same Google Analytics code in each page.