Not many web master take the time to use a robots.txt file for their website. For search engine spiders that use the robots.txt to see what directories to search through, the robots.txt file can be very helpful in keeping the spiders indexing your actual pages and not other information, such as looking through your stats!
The robots.txt file is useful in keeping your spiders from accessing parts folders and files in your hosting directory that are totally unrelated to your actual web site content. You can choose to have the spiders kept out of areas that contain programming that search engines cannot parse properly, and to keep them out of the web stats portion of your site.
Many search engines cannot view dynamically generated content properly, mainly created by programming languages, such as PHP or ASP. If you have an online store programmed in your hosting account, and it is in a seperate directory, you would be wise to block out the spiders from this directory so it only finds relevant information.
The robots.txt file should be placed in the directory where your main files for your hosting are located. So you would be advised to create a blank text file, and save it as robots.txt, and then upload it to your web hosting to the same directory your index.htm file is located.
Here is examples of the use of the robots.txt file:
To block out a directory in a robots.txt file, such as a subdirectory for your online store called /store/ you would do the following: Disallow: /store/
Another example to block out your stats directory: Disallow: /stats/
You may also want to disallow individual files that you do not want searched by the search engines. For example you dont want search.php to be parsed by the Search Engines. To do this you type in the following on its own line:
Disallow: /search.php
Following the rules outlined and creating the robots.txt file, you will keep search engine spiders out of unwanted files and directories, and letting them go through the important files to see what your web site is all about!
Michael Kralj is owner of Emenki Web Solutions and Domains at Retail. Emenki Web Solutions are web site designers and programmers based in Hamilton, Ontario, providing businesses with an informative and strategic approach to establishing an online presence on the web.
Please visit Emenki Web Solutions & Web Design in Hamilton, Ontario on the web http://www.emenki.com
Please visit Domains at Retail - Cheap Domain Name Registration on the web: http://www.domainsatretail.com
MSN finally unleashed its new search technology to the world... Read More
Before anyone can start optimizing a web site, you must... Read More
The first task most netizens do when they log on... Read More
In a recent report for a new client, I wrote:... Read More
As I waded into the 'Make Money Online' waters on... Read More
Internet users have never had it better what with Yahoo!,... Read More
Some very early users of the Internet - not the... Read More
As soon as you register your domain name, submit it... Read More
If you imagine that building an optimized site is like... Read More
Google uses an algorithm to determine the search engine results... Read More
Welcome to part three of our series of articles on... Read More
Search Engine Optimization is the creation of a web page,... Read More
Before you make drastic changes to your website after a... Read More
According to author Frank Peretti, "A fixed point of reference... Read More
Search engines are one of THE best resource for free... Read More
The objective of all search engine providers is epitomized by... Read More
I knew things were bad at DMOZ. But I guess... Read More
If you're a webmaster, you've probably spent almost as much... Read More
Search engine optimization (SEO) is very important to websites. If... Read More
What's all the talk about links we hear about? Reciprocal... Read More
There has been endless webmaster speculation and worry about the... Read More
Increasing your web traffic and rank in search engines is... Read More
The pursuit of online information has become an increasingly dynamic... Read More
To be successful in the search engines it's important to... Read More
Don't share this with people of a nervous disposition because... Read More
1. Additional Exposure For Your Site.At the end of 2003,... Read More
First let's start with definitions:SEO: Search Engine Optimization, SFO: Search... Read More
Black Hat SEO: Web Spamming and Linking to Bad NeighborhoodsSo... Read More
Welcome to part seven in this ten-part search engine positioning... Read More
By Catherine FranzSearch engine spiders read and record page titles... Read More
By now you have likely heard that keywords and keyword... Read More
Most webmasters have no idea on how to make a... Read More
Getting a high ranking on Google is a big achievement.... Read More
Have you ever got one of those silly emails that... Read More
Search engines love content. Graphics may make your site look... Read More
There's an assumption that the higher a ranking or positioning... Read More
All the great efforts made for making your own site,... Read More
After the latest PR update at Google and MSN's beta... Read More
We all want to get our websites high up in... Read More
As you have seen throughout the guide, search engine optimization... Read More
Getting your site listed in the top search engines, such... Read More
Google has recently made some pretty significant changes in its... Read More
"HLE" is a bit of a joke term, (or possible... Read More
I wish to give a few little tips, about optimizing.... Read More
When Paypal's official Web site no longer ranked #1 in... Read More
Achieving a top ranking position in Google is every webmasters... Read More
Last week a client called me excitedly exclaiming that their... Read More
Making the following changes to your title tag can help... Read More
Just for a change, rather than a technical article, I... Read More
It's taken you 6-months of hard work, constant changes, reading... Read More
For anyone looking to enhance their Google Page Rank (PR)... Read More
Google has always been the search industry's innovator and that's... Read More
In this three part article, you'll find many tools that... Read More
It's the buzz word's going across the internet marketing guru's... Read More
One of my favorite subjects to teach on at our... Read More
Earlier this year, I was having trouble getting good search... Read More
What we are hunting for?Unique Domains,One Way Links,Text Link copy... Read More
When shopping online for Link Management Software that can... Read More
In recent times, I have been closely studying keywords that... Read More
We all know that the search engines can't "see" or... Read More
Google applied for a patent on their ranking algorithm as... Read More
Yet the simple truth is that without traffic a website... Read More
The days of basing a successful link building strategy on... Read More
Search Engine Optimization (SEO) has become one of the biggest... Read More
Search engine marketing vs traditional offline marketing. Most often, traditional... Read More
Firstly, let me say that I am sure all our... Read More
Search Engine Optimization (SEO) |