Showing posts with label seo company hyderabad. Show all posts
Showing posts with label seo company hyderabad. Show all posts

Sunday, January 25, 2009

New sitemap standards make it easier for all search engines to find your site

Sitemaps have been about for a while. They were originally created a visual guide to your website. As websites became larger and more complex webmasters used them as a way to view the entire structure of a website to find the connections between pages. Think of them as a kind of interactive table of contents and index rolled into one.

In recent years the search engines have been viewing site maps as a good way to index websites and find all the related content. Google led the charge to make this a mainstream web tool when it introduced XML sitemaps. Creating and submitting an XML sitemap to Google is still the best way to get your website completely crawled by Google. It has become a standard SEO best practice.

As with many things on the web, Google, Yahoo, AOL, MSN and Ask all had their own specific way to use and submit sitemaps in the format they dictated. About six months ago a couple of these folks joined forces to create a standardized method of sitemap creation. They formed an organization called Sitemaps.org and agreed on using the XML sitemap format.

Sorry for the history lesson, but this is really good news for small business web site owners because it will greatly simplify the process of creating and submitting your sitemap and in doing so enhance your chances of getting your entire website indexed by all the search engines.

So, in today's article I'm going to tell you how to create and submit your XML sitemap.

What is a sitemap?

According to Sitemaps.org: "Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site."

Building an XML sitemap

While there are several ways to actually create an XML sitemap I like XML-Sitemaps.com The good news is that if you have a rather small site (under 500 pages) you can simply use their free tool to create an xml sitemap. Over 500 pages and you need to get the $19.95 download.

Getting Your Sitemap found

Once you create your sitemap it's still a good idea to create a free Google Webmaster account so that you can submit your sitemap directly to Google Sitemaps

Robots.txt file

Now here's where the coming together of the search engines gets really nice. Not only will Ask, Google, Yahoo, AOL and MS Live accept the XML format for your sitemap they have also decided to accept an easy, auto-discovery method. In other words you won't have to figure out how to submit to each as they will find your sitemap if you direct them using your robots.txt file. A robots.txt file is a very simple file that resides on your server giving information for the search engines. Many use this file to tell the search engines not to find certain information.

If you already have a robots.txt file, you can simply add the line of code below anywhere to it. If you don't have one, simply create a file in notepad or other text editor, add the code below, save it as robots.txt and upload to the root of your site. (Obviously you need to put the actual URL of your site in here)

Sitemap: http://www.yourwebsite.com/sitemap.xml

Advanced tip - If you use the paid version of xml-sitemap generator you can set up what's known as a cron job (it's a Unix only thing) and have your site crawled on a weekly basis and update your sitemap. This is really great if you blog several times a weeks on your domain as it adds your newest posts. Ask your web host about this one.

Useful links
Sitemaps.org http://www.sitemaps.org
Google Webmaster Blog - http://googlewebmastercentral.blogspot.com/

Monday, December 22, 2008

Robot text file

What should the robot.txt say?

That depends on what you want it to do.

Most people want robots to visit everything in their website. If this is the case with you, and you want the robot to index all parts of your site, there are three options to let the robots know that they are welcome.

1) Do not have a robot.txt file

If your website does not have a robot.txt file then this is what happens -

A robot comes to visit. It looks for the robot.txt file. It does not find it because it isn't there. The robot then feels free to visit all your web pages and content because this is what it is programmed to do in this situation.

2) Make an empty file and call it robots.txt

If your website has a robot.txt file that has nothing in it then this is what happens -

A robot comes to visit. It looks for the robot.txt file. It finds the file and reads it. There is nothing to read, so the robot then feels free to visit all your web pages and content because this is what it is programmed to do in this situation.

3) Make a file called robots.txt and write the following two lines in it... (these are "instructions" for the robot to follow)
User-agent: *
Disallow:
If your website has a robot.txt with these instructions in it then this is what happens -
A robot comes to visit. It looks for the robot.txt file. It finds the file and reads it. It reads the first line. Then it reads the second line. The robot then feels free to visit all your web pages and content because this is what it is what you told it to do.
What do the robot instructions mean?
Here is an explanation of what the different words mean in a robot.txt file
User-agent:

The "User-agent" part is there to specify directions to a specific robot if needed. There are two ways to use this in your file.

If you want to tell all robots the same thing you put a " * " after the "User-agent" It would look like this...

User-agent: * (This line is saying "these directions apply to all robots")

If you want to tell a specific robot something (in this example Googlebot) it would look like this...

User-agent: Googlebot (this line is saying "these directions apply to just Googlebot")

Disallow:

The "Disallow" part is there to tell the robots what folders they should not look at.

This means that if, for example you do not want search engines to index the photos on your site then you can place those photos into one folder and exclude it.

Lets say that you have put all these photos into a folder called "photos". Now you want to tell search engines not to index that folder.

Here is what your robot.txt file should look like:

User-agent: *
Disallow: /photos

The above two lines of text in your robots.txt file would keep robots from visiting your photos folder. The "User-agent *" part is saying "this applies to all robots". The "Disallow: /photos" part is saying "don't visit or index my photos folder".
Googlebot specific instructions

The robot that Google uses to index their search engine is called Googlebot. It understands a few more instructions than other robots. The instructions it follows are well defined in the Google help pages (see resources below).

In addition to the "User-name" and "Disallow" Googlebot also uses the...
Allow:

The "Allow:" instructions lets you tell a robot that it is okay to see a file in a folder that has been "Disallowed" by other instructions.

To illustrate this, let's take the above example of telling the robot not to visit or index your photos. We put all the photos into one folder called "photos" and we made a robot.txt file that looked like this...

User-agent: *
Disallow: /photos

Now let's say there was a photo called mycar.jpg in that folder that you want Googlebot to index. With the Allow: instruction, we can tell Googlebot to do so, it would look like this...

User-agent: *
Disallow: /photos
Allow: /photos/mycar.jpg