SEO Company
Home | About Us | Services | Recent Work | Website Hosting | Contact Us | Tech-Support | Live Chat Support

Google xml sitemap

SEO Articles: Menu

Home SEO Articles
 
Articles by Abhishek
  • Targeted traffic to your website, best ways to do SEO
  • SEO Company from India - Survey
  • Understanding how Google works
  • SEO Website Case Study
  • Web Marketing
  • Professional Website Optimization
  • SEO Services Packages
  • SEO Basics
  • SEO Company, an alternative to costly online ads
  • Beauty of SEO
  • SEO - Link Building Methods for Internet Marketing
  • Title tag - Fix them first

  • Articles by Aseem Kumar
  • Understanding Security Threats in Cyberspace
  • Legal issues in SEO: An Indian perspective
  • Unethical SEO: Raising serious concern over electronic media

  • Articles by Vivek
  • Looking for Indian SEO companies?
  • Definig SEO Process
  • How to determine unethical SEO
  • SEO Bangalore
  • What is SEO service and who should employ?
  • Using SEO tools for search engine optimization

  • Other Articles
  • Dealing with traffic and ranking drop
  • SEO Company, check them
  • Google xml sitemap
  • Search Engine Optimization - SEO
  • Ram Baan Ranking Method for Your Website
  • SEO service and value of content writing, case study from Sriram

  • Research Papers / Documents / FAQs
  • Domain Name Piacy A Threat To Trade Marks
  • SEO FAQs
  • Live Help
    A free service provided by Google.com Webmaster Console to accelerate and ensure indexing of sites.
    This is helpful for any website specially good for dynamic websites having lots of database driven pages.

    XML sitemaps are an easy method to inform search engines about the website content/pages.

    XML sitemap lists URLs for a website along with additional information like: date of update, how frequently usually changes, and importance.

    Sitemaps allow search engine crawlers that support XML sitemap to crawl up all URLs in the Sitemap and access those URLs using the associated information.

    XML schema for the Sitemap protocol

    The Sitemap protocol format consists of XML tags.

    The Sitemap must follow these rules

    Sitemap begins with an opening <urlset> tag and end with a closing </urlset> tag
    You should specify the namespace (protocol standard) within the <urlset> tag.
    Include a <url> entry for each URL, as a parent XML tag.
    Include a <loc> child entry for each <url> parent tag.

    Other tags are optional. You should refer to each search engine's documentation for details.

    Sample XML Sitemap

    <?xml version="1.0" encoding="UTF-8"?>
      <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <url>
          <loc>http://www.indian-seo.com/</loc>
          <lastmod>2004-12-15</lastmod>
          <changefreq>monthly</changefreq>
          <priority>0.5</priority>
        </url>
      </urlset>

    XML tag definitions

    XML tags are described below. courtesy sitemaps.org

     
    Attribute   Description
    <urlset> required Encapsulates the file and references the current protocol standard.
    <url> required Parent tag for each URL entry. The remaining tags are children of this tag.
    <loc> required URL of the page. This URL must begin with the protocol (such as http) and end with a trailing slash, if your web server requires it. This value must be less than 2,048 characters.
    <lastmod> optional The date of last modification of the file. This date should be in W3C Datetime format. This format allows you to omit the time portion, if desired, and use YYYY-MM-DD.
    Note that this tag is separate from the If-Modified-Since (304) header the server can return, and search engines may use the information from both sources differently.
    <changefreq> optional How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are:

  • always
  • hourly
  • daily
  • weekly
  • monthly
  • yearly
  • never

    The value "always" should be used to describe documents that change each time they are accessed. The value "never" should be used to describe archived URLs.

    Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers may consider this information when making decisions, they may crawl pages marked "hourly" less frequently than that, and they may crawl pages marked "yearly" more frequently than that. Crawlers may periodically crawl pages marked "never" so that they can handle unexpected changes to those pages.
  • <priority> optional The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers.

    The default priority of a page is 0.5.

    Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages. Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index.

    Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.

    Entity escaping

    Your XML Sitemap file must be UTF-8 encoded. As with any XML file, any data values including URLs must use entity escape codes for the characters listed in the table below.

     
    Character   Escape Code
    Ampersand & &amp;
    Single Quote ' &apos;
    Double Quote " &quot;
    Greater Than > &gt;
    Less Than < &lt;

    In addition, all URLs (including the URL of your Sitemap) must be URL-escaped and encoded for readability by the web server on which they are located. However, if you are using any sort of script, tool, or log file to generate your URLs (anything except typing them in by hand), and this is usually already done for you. Please make sure that your URLs follow the RFC-3986 standard for URIs, the RFC-3987 standard for IRIs, and the XML standard.

    Below is an example of a URL that uses a non-ASCII character (ü), as well as a character that requires entity escaping (&):
    http://www.indian-seo.com/ümaster.asp&q=name

    Below is that same URL, ISO-8859-1 encoded (for hosting on a server that uses that encoding) and URL escaped:
    http://www.indian-seo.com/%Actfo.asp&q=name

    Below is that same URL, UTF-8 encoded (for hosting on a server that uses that encoding) and URL escaped:
    http://www.indian-seo.com/%C3%BTake.asp&q=name

    Below is that same URL, but also entity escaped:
    http://www.indian-seo.com/%C3%BTake.asp&amp;q=name

     
    Sample XML Sitemap

    Example blow shows a Sitemap in XML format. This example contains a small number of URLs, using a different set of optional parameters.

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
    <loc>http://www.indian-seo.com/</loc>
    <lastmod>2004-12-15</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
    </url>
    <url>
    <loc>http://www.indian-seo.com/page?item=1&amp;desc=SEO_Services</loc>
    <changefreq>weekly</changefreq>
    </url>
    <url>
    <loc>http://www.indian-seo.com/page?item=2&amp;desc=SEO_Company</loc>
    <lastmod>2004-12-18</lastmod>
    <changefreq>weekly</changefreq>
    </url>
    <url>
    <loc>http://www.indian-seo.com/page?item=3&amp;desc=SEO_Package</loc>
    <lastmod>2004-12-23T20:00:6+00:00</lastmod>
    <priority>0.3</priority>
    </url>
    <url>
    <loc>http://www.indian-seo.com/page?item=4&amp;desc=SEO_Check_List</loc>
    <lastmod>2004-12-21</lastmod>
    </url>
    </urlset>


    Validating your Sitemap

    Following XML schemas define the elements and attributes that can appear in Sitemap file.
    Download this schema from the links below:

    For Sitemaps: http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
    For Sitemap index files: http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd

    There are many tools available to help you validate the structure of your Sitemap based on this schema.

    You can find a list of XML-related tools at each of the following locations:

    http://www.w3.org/XML/Schema#Tools
    http://www.xml.com/pub/a/2000/12/13/schematools.html

    In order to validate your Sitemap file against a schema, the XML file will need additional headers as shown below

    <?xml version='1.0' encoding='UTF-8'?>
    <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
    xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
    ...
    </url>
    </urlset>

    Content above originally taken from sitemaps.org, for any comments, advice please write to info@indian-seo.com

    Indian SEO offer compete SEO package that covers On Page Optimization, Off Page Optimization. SEO Package includes webmaster account setup, XML Sitemap creation and submission.
     

     
    Copyright © 2005-2010. Indian SEO All rights reserved.