Your SlideShare is downloading. ×
0
Sitemaps<br />www.mihswat.com<br />Rafiq Phillips<br />@rafiq<br />
What are Sitemaps?<br />Inform Search Engines<br />Additional Metadata<br />
Inform Search Engines<br />Why would you want to inform Search Engines?<br />
Additional Metadata<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;urlsetxmlns=&quot;http:...
Additional Metadata<br />&lt;loc&gt;http://www.news24.com/&lt;/loc&gt;<br />Must begin with http(s) and end with a trailin...
Additional Metadata<br />&lt;lastmod&gt;2010-02-04&lt;/lastmod&gt; <br />In YYYY-MM-DD format<br />
Additional Metadata<br />&lt;changefreq&gt;always&lt;/changefreq&gt;  <br />always<br />hourly<br />daily<br />weekly<br /...
Additional Metadata<br />&lt;priority&gt;0.8&lt;/priority&gt;<br />0.0 to 1.0<br />
Don’t forget<br />Your Sitemap file must be UTF-8.<br /> As with all XML files, any data values (including URLs) must use ...
Sitemap Index File<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;sitemapindexxmlns=&quot;http:...
Letting Search Engines Know<br />Robots.txt “Sitemap: http://www.news24.com/sitemapindex.xml”<br />Ping the search engines...
More Sitemaps info<br />Visit http://sitemaps.org/faq.php<br />
Upcoming SlideShare
Loading in...5
×

XML Sitemaps 101

1,112

Published on

Brief overview of the Sitemaps XML protocol for SEO

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,112
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "XML Sitemaps 101"

  1. 1. Sitemaps<br />www.mihswat.com<br />Rafiq Phillips<br />@rafiq<br />
  2. 2. What are Sitemaps?<br />Inform Search Engines<br />Additional Metadata<br />
  3. 3. Inform Search Engines<br />Why would you want to inform Search Engines?<br />
  4. 4. Additional Metadata<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;urlsetxmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;&gt;    <br />&lt;url&gt;<br />       &lt;loc&gt;http://www.example.com/&lt;/loc&gt;       &lt;lastmod&gt;2010-02-04&lt;/lastmod&gt;       &lt;changefreq&gt;monthly&lt;/changefreq&gt;       &lt;priority&gt;0.8&lt;/priority&gt;<br />&lt;/url&gt;<br />&lt;/urlset&gt; <br />
  5. 5. Additional Metadata<br />&lt;loc&gt;http://www.news24.com/&lt;/loc&gt;<br />Must begin with http(s) and end with a trailing /<br />&lt; 2048 characters<br />
  6. 6. Additional Metadata<br />&lt;lastmod&gt;2010-02-04&lt;/lastmod&gt; <br />In YYYY-MM-DD format<br />
  7. 7. Additional Metadata<br />&lt;changefreq&gt;always&lt;/changefreq&gt; <br />always<br />hourly<br />daily<br />weekly<br />monthly<br />yearly<br />never<br />
  8. 8. Additional Metadata<br />&lt;priority&gt;0.8&lt;/priority&gt;<br />0.0 to 1.0<br />
  9. 9. Don’t forget<br />Your Sitemap file must be UTF-8.<br /> As with all XML files, any data values (including URLs) must use entity escape codes for the characters listed in the table below.<br />
  10. 10. Sitemap Index File<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;sitemapindexxmlns=&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;&gt;    &lt;sitemap&gt;<br />&lt;loc&gt;http://www.example.com/sitemap1.xml.gz&lt;/loc&gt;       &lt;lastmod&gt;2010-02-04T09:23:17+02:00&lt;/lastmod&gt;    &lt;/sitemap&gt;<br /> &lt;/sitemapindex&gt; <br />
  11. 11. Letting Search Engines Know<br />Robots.txt “Sitemap: http://www.news24.com/sitemapindex.xml”<br />Ping the search engines…<br />www.google.com/ping?sitemap=http%3A%2F%2Fwww.news24.com%2Fsitemapindex.xml<br />(URL encode everything after the /ping?sitemap=)<br />Google Webmaster Tools, Bing Webmaster Center, Yahoo! Site Explorer<br />
  12. 12. More Sitemaps info<br />Visit http://sitemaps.org/faq.php<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×