{"id":637,"date":"2008-03-28T00:58:59","date_gmt":"2008-03-27T16:58:59","guid":{"rendered":"http:\/\/www.janleow.com\/life\/?p=637"},"modified":"2008-03-28T00:58:59","modified_gmt":"2008-03-27T16:58:59","slug":"xml-sitemap-google-yahoo","status":"publish","type":"post","link":"https:\/\/www.janleow.com\/life\/xml-sitemap-google-yahoo.html","title":{"rendered":"XML Sitemap for Google and Yahoo"},"content":{"rendered":"<p>The sitemap.xml is to assist the search engines to index your web site.<br \/>\nSearch engines like Google, Yahoo, MSN Live, and etc constantly sends out robots, spiders, crawlers (or whatever term they wish to call these automated indexing software) to index websites to put into their search database. <!--break-->To give the robots, spiders and crawlers a hand, a list of web pages listed in the sitemap.xml will speed up their process of indexing your web site.<!--more--><\/p>\n<p>The sitemap.xml follows a standard convention so that the indexing could be done smoothly. Even if a sitemap.xml was not included in your web site, the indexing could still continue on by itself by following the links on your web site, albeit it will take a little longer to index and find your web pages. The sitemap.xml is just to help the robots, spiders and crawlers do their job a little easier and faster. Thus it is a good idea to have sitemap file incorporated into your web site.<\/p>\n<p><strong>How to go about creating a sitemap.xml<\/strong><\/p>\n<p>You can use your favourite web building software or just use any text editor like notepad to do the coding. Just save the file with the xml extension after doing the necessary coding.<\/p>\n<p>The coding is fairly simple, though it will get tedious to do it by hand to list down all your pages. The basic convention is as below<\/p>\n<blockquote><p>\n&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br \/>\n&lt;urlset xmlns=&#8221;http:\/\/www.google.com\/schemas\/sitemap\/0.84&#8243;&gt;<\/p>\n<p>&lt;url&gt;<br \/>\n  &lt;loc&gt;http:\/\/www.example.com&lt;\/loc&gt;<br \/>\n  &lt;lastmod&gt;2007-02-25&lt;\/lastmod&gt;<br \/>\n  &lt;changefreq&gt;weekly&lt;\/changefreq&gt;<br \/>\n  &lt;priority&gt;1.0&lt;\/priority&gt;<br \/>\n&lt;\/url&gt; <\/p>\n<p>&lt;\/urlset&gt;\n<\/p><\/blockquote>\n<p>Each web page will be enclosed in the URL tag with the exact URL enclosed in the LOC tag. Tags like LASTMOD (last modification), CHANGEFREQ (change frequency) and PRIORITY is optional and may be omitted in your sitemap.xml file.<\/p>\n<p>The convention of the optional tags are as below:<\/p>\n<ul>\n<li>lastmod = YYYY-MM-DD\n<li>changefreq = always\/hourly\/daily\/weekly\/monthly\/yearly\/never\n<li>priority = range 0.0-1.0 default 0.5, 1.0 is the highest priority.\n<\/ul>\n<p>LASTMOD is the date when your web page was last modified with the date in the YYYY-MM-DD format. You may also include the time when it was modified. <\/p>\n<p>CHANGEFREQ is to show how frequently your web page is changed or updated.<\/p>\n<p>The PRIORITY tag is to tell the robots, spiders and crawlers to give a guide as to the importance to each of the web pages. However it doesn&#8217;t mean that if you give all your pages priority of 1.0 meant all will be given high importance and get better ranking in the search engines. Usually a web page that was updated frequently will be given more importance than one that is not as regularly updated.<\/p>\n<p>If you are coding the sitemap by hand, listing down the lastmod, changefreq and priority may be too tedious, and would be better off leaving it out from your sitemap altogether. If you are using CMS, try to find an automated sitemap generating module or plug in. It will help save a lot of time to do the coding by hand. <\/p>\n<p><strong>If you have more than one sitemap in your website<\/strong><\/p>\n<p>If your site is fairly large, you may split your sitemap into several files. For example if you want the root sitemap to point to another sitemap file in another directory containing another set of web pages, the coding convention is as follows:<\/p>\n<blockquote><p>\n&lt;sitemapindex xmlns=&#8221;http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9&#8243;&gt;<br \/>\n  &lt;sitemap&gt;<br \/>\n    &lt;loc&gt;http:\/\/www.example.com\/subdirectory\/sitemap.xml&lt;\/loc&gt;<br \/>\n  &lt;\/sitemap&gt;<br \/>\n&lt;\/sitemapindex&gt;\n<\/p><\/blockquote>\n<p>Just include the above codes between the URLSET tags in your root sitemap.xml file. There is no need for the sub sitemap file to point back to the root sitemap file as this is for indexing of web pages.<\/p>\n<p><strong>Reference<\/strong><\/p>\n<p>For more info about sitemap, visit the <a href=\"http:\/\/www.sitemaps.org\" target=\"_blank\">www.sitemaps.org<\/a> website for more information about its tagging protocol and convention.<\/p>\n<p>\n<script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-5685769204706262\";\ngoogle_ad_width = 336;\ngoogle_ad_height = 280;\ngoogle_ad_format = \"336x280_as\";\ngoogle_ad_type = \"text\";\n\/\/JanLeow.com(content)\ngoogle_ad_channel = \"0608098433\";\ngoogle_color_border = \"FFFFFF\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"323539\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"BBBBBB\";\n\/\/--><\/script><br \/>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p><strong>Related Pages<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.janleow.com\/life\/xml-sitemap-google-yahoo.html\">XML Sitemap for Google and Yahoo<\/a>\n<li><a href=\"http:\/\/www.janleow.com\/life\/xml-sitemap-google-submit.html\">How to submit your Sitemap to Google<\/a>\n<li><a href=\"http:\/\/www.janleow.com\/life\/yahoo-site-explorer.html\" >Yahoo Site Explorer<\/a>\n<li><a href=\"http:\/\/www.janleow.com\/life\/xml-sitemap-google-create.html\">Automated Sitemap Generator<\/a>\n<\/ul>\n<\/p>\n<p><strong><a href=\"http:\/\/www.janleow.com\/life\/internet-marketing-seo.html\">Internet Marketing SEO<\/a><\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.janleow.com\/life\/internet-marketing-seo-keywords.html\">The importance of keywords, an SEO primer<\/a>\n<\/ul><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The sitemap.xml is to assist the search engines to index your web site. Search engines like Google, Yahoo, MSN Live, and etc constantly sends out robots, spiders, crawlers (or whatever term they wish to call these automated indexing software) to index websites to put into their search database. To give the robots, spiders and crawlers &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.janleow.com\/life\/xml-sitemap-google-yahoo.html\"> <span class=\"screen-reader-text\">XML Sitemap for Google and Yahoo<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[12],"tags":[160,162],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1bS5F-ah","jetpack-related-posts":[{"id":634,"url":"https:\/\/www.janleow.com\/life\/how-to-submit-your-sitemap-to-google.html","url_meta":{"origin":637,"position":0},"title":"How to submit your sitemap to Google","author":"Jan","date":"28 March 2008","format":false,"excerpt":"Once you have created your sitemap.xml file, you will need to submit it to Google for their indexing of your site with their robots, spiders and crawlers. You will need to have an account with Google to submit your sitemap. You can log in with your gmail account, and if\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":643,"url":"https:\/\/www.janleow.com\/life\/yahoo-site-explorer.html","url_meta":{"origin":637,"position":1},"title":"Yahoo Site Explorer","author":"Jan","date":"28 March 2008","format":false,"excerpt":"The Yahoo Site Explorer is a tool for you to view and manage your website web pages, to find out which pages were indexed by Yahoo and to control which pages should or should not be indexed by Yahoo. By submitting your website into the Yahoo Site Explorer, you could\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":708,"url":"https:\/\/www.janleow.com\/life\/building-website-navigation-structure.html","url_meta":{"origin":637,"position":2},"title":"Building the navigation and structure of a web site","author":"Jan","date":"3 February 2007","format":false,"excerpt":"When you create your web site, freely take note of your navigational design structure. A basic navigational structure is like that of a pyramid as shown in the diagram is the best. With the entry home page as tier one of the web site, trickling down to the tier 2\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1355,"url":"https:\/\/www.janleow.com\/life\/make-your-own-web-site-internet-marketing-secret-seo.html","url_meta":{"origin":637,"position":3},"title":"Internet Marketing Secret SEO","author":"Jan","date":"31 March 2009","format":false,"excerpt":"Internet Marketing Secret? What is SEO. I want to be found online! Who doesn't? What's the point to make a web site when its existence is as obscure as a hermit living out in a cave? Just building a website alone doesn't mean that increase web site traffic will come\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1188,"url":"https:\/\/www.janleow.com\/life\/html-extension-vs-php-asp-shtml-phtml.html","url_meta":{"origin":637,"position":4},"title":"HTML extension vs PHP, ASP, SHTML, PHTML, etc","author":"Jan","date":"12 November 2009","format":false,"excerpt":"I have been curious, whether a HTML extension (or HTM extension for that matter) would do as well in a search engine as compared with extension that ended up in PHP, ASP, SHTML, PHTML, etc, etc. Of course each extension has its own usefulness. HTML was started pretty long ago\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1129,"url":"https:\/\/www.janleow.com\/life\/sudden-drop-in-website-traffic.html","url_meta":{"origin":637,"position":5},"title":"Sudden drop in website traffic","author":"Jan","date":"10 August 2009","format":false,"excerpt":"This is really strange. Perhaps I've not been blogging for awhile, but to find the website traffic dropped suddenly is certainly disconcerting. Sure this website is mostly a blogging website in nature. It's always nice to see lots of traffic despite the high bounce rate. Never expected the traffic to\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/637"}],"collection":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/comments?post=637"}],"version-history":[{"count":0,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/637\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/media?parent=637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/categories?post=637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/tags?post=637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}