24.11.08

SEO - Robots - Robots_txt file

Robots. Txt:

This is a very familiar word for SEO Guys, but people care very less about these robots.

What might be these robots?

For a site it is required to get indexed by search engines, with out getting indexed in search engines, it is useless to have SEO.

How one site will get indexed by search engines, the simple answer is by robots,Every search engine will have their own robots to crawl the sites,

Like Google Robots: Googlebot

Yahoo Robots: Slurp

MSN Robots: MSNbot

AltaVista: Scooter, Mercator

Syntax for Robots.txt;

User-agent:*

Disallow:

User-agent: *
The asterisk (*) or wildcard represents a special value and means any robot.

Disallow:
The Disallow: line without a / (forward slash) tells the robots that they can index the entire site.

The Disallow: line without the trailing slash (/) tells all robots to index everything. If you have a line that looks like this:

User-agent:*

Disallow: / means disallow robots to crawl the site

To exclude all robots from the server:

User-agent: *
Disallow: /

To exclude all robots from parts of a server:

User-agent: *
Disallow: /datasecured/
Disallow: /images-blah/
Disallow: /images-used/

To exclude a single robot from the server:

User-agent: Named Bot
Disallow: /

To exclude a single robot from parts of a server:

User-agent: Named Bot
Disallow: /datasecured/
Disallow: /images-blaha/
Disallow: /images-used/

0 comments: