Creating a Robots.txt file

Written by Sumantra Roy


Some people believe that they should create different pages for different search engines, each page optimized for one keyword and for one search engine. Now, while I don't recommend that people create different pages for different search engines, if you do decide to create such pages, there is one issue that you need to be aware of.

These pages, although optimized for different search engines, often turn out to be pretty similar to each other. The search engines now haverepparttar ability to detect when a site has created such similar looking pages and are penalizing or even banning such sites. In order to prevent your site from being penalized for spamming, you need to preventrepparttar 132364 search engine spiders from indexing pages which are not meant for it, i.e. you need to prevent AltaVista from indexing pages meant for Google and vice-versa. The best way to do that is to use a robots.txt file.

You should create a robots.txt file using a text editor like Windows Notepad. Don't use your word processor to create such a file.

Here isrepparttar 132365 basic syntax ofrepparttar 132366 robots.txt file:

User-Agent: [Spider Name] Disallow: [File Name]

For instance, to tell AltaVista's spider, Scooter, not to spiderrepparttar 132367 file named myfile1.html residing inrepparttar 132368 root directory ofrepparttar 132369 server, you would write

User-Agent: Scooter Disallow: /myfile1.html

To tell Google's spider, called Googlebot, not to spiderrepparttar 132370 files myfile2.html and myfile3.html, you would write

User-Agent: Googlebot Disallow: /myfile2.html Disallow: /myfile3.html

You can, of course, put multiple User-Agent statements inrepparttar 132371 same robots.txt file. Hence, to tell AltaVista not to spiderrepparttar 132372 file named myfile1.html, and to tell Google not to spiderrepparttar 132373 files myfile2.html and myfile3.html, you would write

User-Agent: Scooter Disallow: /myfile1.html

User-Agent: Googlebot Disallow: /myfile2.html Disallow: /myfile3.html

If you want to prevent all robots from spideringrepparttar 132374 file named myfile4.html, you can userepparttar 132375 * wildcard character inrepparttar 132376 User-Agent line, i.e. you would write

User-Agent: * Disallow: /myfile4.html

However, you cannot userepparttar 132377 wildcard character inrepparttar 132378 Disallow line.

Once you have createdrepparttar 132379 robots.txt file, you should upload it torepparttar 132380 root directory of your domain. Uploading it to any sub-directory won't work -repparttar 132381 robots.txt file needs to be inrepparttar 132382 root directory.

I won't discussrepparttar 132383 syntax and structure ofrepparttar 132384 robots.txt file any further - you can getrepparttar 132385 complete specifications from here.

Now we come to howrepparttar 132386 robots.txt file can be used to prevent your site from being penalized for spamming in case you are creating different pages for different search engines. What you need to do is to prevent each search engine from spidering pages which are not meant for it.

Creating Your First Web Site, Part 1

Written by Lisa Maliga


Creating Your First Web Site, Part 1 By Lisa Maliga © 2005

Google boasts more than eight billion web pages. How will yours show up? When willrepparttar sales or hits start rolling in?

Recently I’ve come across a few people who are interested in joiningrepparttar 132363 Internet and want some assistance in building their first web site. If you want to be online, start looking for information there, especially at a site such as http://www.webproworld.com as well as in your local bookstore and library. Read as much as you can and don’t allow yourself to become overwhelmed. The best web sites are built one page at a time.

Creating It Whether you’re adding one page torepparttar 132364 World Wide Web or thousands, you should first decide not only what you want to show to people but also which program will you use? Microsoft FrontPage and Macromedia’s Dreamweaver MX are two ofrepparttar 132365 most popular software programs, but there are many others and some of them are even free when you sign up with a web host. Make sure you’re comfortable usingrepparttar 132366 software and that enough information is provided such as reference books and/or articles.

To determine how you will capture your audience, what will you put on your home page? A welcome sign? Lots of text? Lots of pictures? Will it be a catalogue, scrapbook, library, photo album, mall, menu or museum? The best way to begin isrepparttar 132367 most old-fashioned: use index cards and a pen. This will be your site map and this way you can physically create your site. Begin withrepparttar 132368 home page and add other cards for your additional pages. Hopefully you’ve decided on your site’s name. If not, now isrepparttar 132369 time.

Navigation How you get around your site is determined here, and on your home page, [also referred to asrepparttar 132370 index page], as this is where you decide how you will link each page. A row of well labeled navigation buttons or text links alongrepparttar 132371 top or side? Onrepparttar 132372 bottom? Will you need any?

For example, someone needs to create a site where they will be selling several used cars. The home page will have links to each car. Don’t try cramming all that information on your main page, as you’ll lose viewers. It’s just too much information, too much scrolling down and far too many pictures and megabytes. Each car should have its own page. Suppose that bright red Ford Mustang is on your home/index page for its visual appeal, but create a link to a Mustang page where you have allrepparttar 132373 relevant information such asrepparttar 132374 price, mileage, other statistics and more photos ofrepparttar 132375 car. Same goes for a Honda Prelude, and/or allrepparttar 132376 other cars/products you are selling. Each item should have its own page as that creates additional pages and more chances of your site being found byrepparttar 132377 search engines which translates into more people visiting your site.

Enticing Your Online Audience What will drive people to your site and keep them there? Whatever you have to offer, whether free or involving a fee, you must make your site as legitimate looking as possible.

Are you a member ofrepparttar 132378 Better Business Bureau? Do you have a membership to a society, organization or other group that lends credibility to you and your new site? Have you won awards in your field of expertise? Do you sell a product that is available by purchase with a major credit card or PayPal? Always displayrepparttar 132379 necessary information a potential customer needs on your main page.

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use