Google Sitemaps Basics

Google Sitemaps BasicsWhat is Google Sitemaps?

Sitemap is a beta technology which was provided by google to improve crawlers/bots indexing accuracy.

How it works?

Sitemap is a file which contain a list of URLs of pages within your web site that you want to be indexed. Just place those URLs in sitemap and google crawler will visit them.

How sitemap file look like?

The easest example is:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84
  http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
  <url>
    <loc>http://www.yoursite.com/</loc>
    <lastmod>2007-09-15T09:31:11-05:00</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
  </url>
</urlset>

A little explanation

First 5 lines of code is a "headers" - You don't need to edit them.

<url></url> - Everything between those two is Your single URL info.
<loc></loc> - The URL of destination page. This is required!
<lastmod></lastmod> - Date and time of the last modification. Optional.
<changefreq></changefreq> - You can "tell" google bot how often Your site is updated. Optional.
<priority></priority> - How this site is "important" (between 0.1 to 1 scale). Optional.

This is the whole XML file.

You have to remember, that sitemap can carry up to 50.000 sites or 10MB of data.

If You need to have more links You can make a "map of maps" - Sitemap Index. This file is similar to a normal Sitemap but contain links to smaller sitemaps.

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84">
<sitemap>
  <loc>http://www.yoursite.com/sitemap1.xml</loc>
  <lastmod>2007-09-15T09:31:11-05:00</lastmod>
</sitemap>
<sitemap>
  <loc>http://www.yoursite.com/sitemap2.xml</loc>
  <lastmod>2007-09-15T09:31:11-05:00</lastmod>
</sitemap>
</sitemapindex>

After You create Your sitemap file (or Sitemap Index), You have to save it as (for example) sitemap.xml.

You can validate Your map before submiting it to google: www.w3.org

For validation schema use: www.google.com

Now You can enter www.google.com and submit your site/sitemap.

If You want, You may try to make Dynamic PHP Google Sitemap


Related Articles

  • The Concept of Sitemaps Explained
    What are the essential components of site maps and why should we use them? Let the experts at SEOelite.com help you answer this question.
  • Google Sitemaps and your SEO Strategy
    SEO Strategy is improved immediately with a Google Sitemap. This article explains why they help. The author gives you tips on creating the Sitemap and lists resources for if you run into problems.
  • Get Listed In Google By Making An XML SiteMap And Without Spending A Dime
    If you have been unsuccessfully trying to get listed in Google or just hitting roadblocks when trying to get more of your pages listed in Google, then you need to read this short article. I am about to reveal a simple SEO secret that can save you a lot of time, money and effort.
  • Search Engine Friendly Site Maps
    If a page or link is several clicks away ( a visitor have to go through several web pages) then there is a possibility that the search engine spider will have trouble indexing it. Your search engine will show you the error that the page is not found.
  • Tell Search Engines About Your Website With Google Sitemap
    Google Site Map allows webmasters to submit a listing of all the URLs for Google to crawl. Submitting your sitemap to Google tells the Google bots, what exactly your website is about.
  • Google Sitemaps
    Read this article on how to get your website indexed faster in Google by using the Google XML sitemap.
  • The Top 5 Benefits of Using Google's Webmaster Tools
    This article will tell you about the top 5 benefits of using Googles webmasters tools.
  • Sitemaps 101 - Back To SEO School
    Sitemaps are without doubt one of the most often ignored and undervalued aspects of search engine optimization. Youve probably spent a huge amount of time working on pages of original content, keyword density and getting incoming links but never once spared a thought for a sitemap...
  • 5 Best Ways To Make Your Website Visible To Search Engines
    Every website owner needs to make sure their website is visible to search engines but its a task that is easier said than done. Here are 5 of the best ways to make sure your site is visible to the major search engines.
  • Pay-Per-Click Advertising - The Basics
    Search engine optimization can take a long time to show results. The Google sandbox alone can delay optimization results by 6 to 8 months. So, what can you do to get traffic while you wait? Pay-per-click [PPC] campaigns fill the time gap. This article discusses the basics of PPC advertising...

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.