Sitemap XML- The Quick Start Guide to Site Maps
-
Upload
michael-benjamin -
Category
Documents
-
view
212 -
download
0
Transcript of Sitemap XML- The Quick Start Guide to Site Maps
-
8/6/2019 Sitemap XML- The Quick Start Guide to Site Maps
1/3
map XML: The QuickStart Guide to Site Maps
://www.sitemapxml.co.uk/[06/11/2010 07:30:57]
Sitemap XML: The QuickStart Guide to Site Maps
Creating a sitemap.xml file for my web site sounded like a good idea. It should have been an easy
task but surprisingly there was a lot to take in! I spent a couple of hours on Google reading the
Sitemaps Protocol and running through the Frequently Asked Questions.
However when I found myself on the W3C page about XML Schema it looked like I was getting into
the deep end. Why wasn't there a simple explanation of what I needed to do?
If you are like me, you probably wish you could figure it out in 1 minute...
Well, now you can...
Rather than explain how it works, or create a script that you have to install I thought I'd show you
how to create a Site Map for your web site the easy way...
Step 1: Cut and Paste
Cut and paste the code shown below into your text editor.
http://www.example.com/index.html
Step 2: Edit the 3rd line
Change "www.example.com" to your domain name. And change "index.html" to match the name of
the file you use as your home page as required (e.g. index.htm, index.php, default.asp, etc)
Step 3: Save your file
Save your text file as "sitemap.xml".
Step 4: Upload to your web server
Transfer your file to your web server and put it in the top directory, alongside your home page.
Step 5: Tell Google
Sign into Google Sitemaps with your Google Account, click on "Add a Sitemap" and type in the
address of your Sitemap, and then click submit.
What Next
In a few hours time, Google will read the file on your web site. When you revisit your account area
on Google it will tell you if there are any errors in your sitemap.xml file. If there are then have a look
at the hints given in the Troubleshooting Guide. The commonest error is that each of your URLs must
go on a new line. Check your FTP software is uploading in Text mode if you are sure your source file
is okay.
Step 6:
Once you have a working sitemap.xml file on your web site and Google is happy reading it then go
back to your text editor and duplicate Line 3 for each additional page on your web site. Edit as
http://www.google.com/webmasters/sitemaps/docs/en/protocol.htmlhttps://www.google.com/webmasters/tools/docs/en/protocol.html#Frequently_Asked_Questionshttp://www.w3.org/XML/Schema#Toolshttp://www.google.com/webmasters/sitemaps/https://www.google.com/accounts/NewAccount?service=sitemapshttps://www.google.com/accounts/NewAccount?service=sitemapshttp://www.google.com/webmasters/sitemaps/http://www.w3.org/XML/Schema#Toolshttps://www.google.com/webmasters/tools/docs/en/protocol.html#Frequently_Asked_Questionshttp://www.google.com/webmasters/sitemaps/docs/en/protocol.html -
8/6/2019 Sitemap XML- The Quick Start Guide to Site Maps
2/3
map XML: The QuickStart Guide to Site Maps
://www.sitemapxml.co.uk/[06/11/2010 07:30:57]
required to match the names of your pages and make sure each ... reference goes on a
new line. Save. Upload.
1.
2.
3. http://www.example.com/index.html
4. http://www.example.com/page2.html
5. http://www.example.com/page3.html
6. http://www.example.com/etc.html
7.
The QuickStart Guide to Site Maps is only intended to get you going with the minimum requirements
for a small web site. Include references to all the pages you would like indexed because Google will
probably remove previously indexed pages if you fail to mention them. There are more options you
can use in your site map and full details can be found in the XML Tag Definitions.
Google also have a free script that can create a site map for your web site. Unfortunately it requires
installation on a web server and looks more trouble than it is worth but if you search the net you can
find lots of emerging software that looks very promising. Some are also available with free trial
periods such as the A1 Sitemap Generator, which can create text, HTML, RSS and XML sitemaps to
help search engines like Google and Yahoo to crawl and index your web site.
Sitemap Autodiscovery via robots.txt
The new open-format autodiscovery allows you to specify the location of your sitemap within the
robots.txt file, eliminating the need to submit sitemaps to each search engine separately. It doesn't
matter where you place it in your file and it is independent of User-agent. You can also link to yourSitemap Index if you have one.
1. User-agent: *
2. Disallow:
3. Disallow: /cgi-bin/
4. Sitemap: http://www.example.com/sitemap.xml
5.
6.
Search Engines and Sitemap Pings
Several search engines have introduced a standardised support for Sitemap Pings. To submit your
sitemap to a search engine (ping) use the following format:
http:///ping?sitemap=http%3A%2F%2Fwww.example.com%2Fsitemap.xml
Examples you can use include Ask, Yahoo! and Google. For Bing (MSN) use Bing and MoreOver.
For Weblogs you will also need to submit a site name:
http://rpc.weblogs.com/pingSiteForm?name=example&url=http%3A%2F%2Fwww.example.com%2Fsitemap.xml
http://www.google.com/webmasters/sitemaps/docs/en/protocol.html#xmlTagDefinitionshttp://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-intro.htmlhttp://clusty.com/search?query=sitemap+xmlhttp://get.esellerate.net/get/ALP92589666/default.htm?skuid=SKU5520771689&affid=AFL4759824258&at=&pt=http://submissions.ask.com/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://www.bing.com/webmaster/ping.aspx?siteMap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://api.moreover.com/ping?u=http://www.sitemapxml.co.uk/sitemap.xmlhttp://api.moreover.com/ping?u=http://www.sitemapxml.co.uk/sitemap.xmlhttp://www.bing.com/webmaster/ping.aspx?siteMap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://submissions.ask.com/ping?sitemap=http://www.sitemapxml.co.uk/sitemap.xmlhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=BZitKqgPVTNDQJJHNjQfflLjICq6auYkByrGSwQ2SgpORG7DUMhABGAEg0sSBAjgAULjfxH5gu86Zg9AKoAHsj535A7IBFHd3dy5zaXRlbWFweG1sLmNvLnVrugEJNzI4eDkwX2FzyAED2gEcaHR0cDovL3d3dy5zaXRlbWFweG1sLmNvLnVrL8ACBKgDAcgDFegDVOgDqwL1AwIAEMQ&num=1&sig=AGiWqtyu6H99v6vtThoFJwumGCYU57cQhw&client=ca-pub-9394171572481910&adurl=http://www.google.com/analytics/siteopt/splash%3Fhl%3Den-GB%26service%3Dwebsiteoptimizer%26continue%3Dhttps%253A%252F%252Fwww.google.com%252Fanalytics%252Fsiteopt%252F%253Fet%253Dreset%2526hl%253Den-GB%26utm_campaign%3Den%26utm_source%3Den-ha-emea-uk-pt-gwo%26medium%3Dha%26term%3Dhttp://get.esellerate.net/get/ALP92589666/default.htm?skuid=SKU5520771689&affid=AFL4759824258&at=&pt=http://clusty.com/search?query=sitemap+xmlhttp://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-intro.htmlhttp://www.google.com/webmasters/sitemaps/docs/en/protocol.html#xmlTagDefinitions -
8/6/2019 Sitemap XML- The Quick Start Guide to Site Maps
3/3
map XML: The QuickStart Guide to Site Maps
://www.sitemapxml.co.uk/[06/11/2010 07:30:57]
n.b. for html validation you may need to encode your ampersand, using instead of
Sitemaps w ith MediaWiki
An updated version of the GoogleSitemap extension is now available. The ManualSitemap extension
is suitable for MediaWiki versions 1.13+ and supports multiple sitemap pings.
Thank you
If you found this guide useful I would be grateful if you could mention it on your web site or blog and
link back to our home page. Thank you!
The QuickStart Guide to Site Maps - www.sitemapxml.co.uk
SitemapXML.co.uk
If you would like to buy SitemapXML.co.uk please see our listing on domains.quotes.uk.com
Site Map XML Icon
I have created a small icon that you can use on your web site or blog. Please copy the graphic toyour own server. You can use it to link to your own Site Map file, or for a link back to our web site.
http://www.mediawiki.org/wiki/Extension:Google_Sitemaphttp://www.mediawiki.org/wiki/Extension:ManualSitemaphttp://domains.quotes.uk.com/index.php?show=sitemapxml.co.ukhttp://www.w3.org/WAI/WCAG1AAA-Conformancehttp://jigsaw.w3.org/css-validator/check/refererhttp://validator.w3.org/check?uri=refererhttp://domains.quotes.uk.com/index.php?show=sitemapxml.co.ukhttp://googleads.g.doubleclick.net/aclk?sa=l&ai=BdWydqgPVTO3wL4fEjQeE1vGMCuO64uwB05bwjBXrqaXxTpCaOxABGAMg0sSBAjgAUIDH4cQEYLvOmYPQCrIBFHd3dy5zaXRlbWFweG1sLmNvLnVrugEJNzI4eDkwX2FzyAEJ2gEcaHR0cDovL3d3dy5zaXRlbWFweG1sLmNvLnVrL-ABA6kCw2dLU40puz64AhjAAgXIAvPIxBaoAwHRA9xu4vF-H3fW6ANU6AOrAvUDAgAQxA&num=3&sig=AGiWqtzr_kuRLUObdg_pj5M8diVmy72GnQ&client=ca-pub-9394171572481910&adurl=http://clk.atdmt.com/MDG/go/257690385/direct/01/http://www.mediawiki.org/wiki/Extension:ManualSitemaphttp://www.mediawiki.org/wiki/Extension:Google_Sitemaphttp://googleads.g.doubleclick.net/aclk?sa=l&ai=BjcjeqgPVTOydMMm2jQfujamwCuO64uwB05bwjBXrqaXxTpCaOxABGAIg0sSBAjgAUIDH4cQEYLvOmYPQCrIBFHd3dy5zaXRlbWFweG1sLmNvLnVrugEJNzI4eDkwX2FzyAEJ2gEcaHR0cDovL3d3dy5zaXRlbWFweG1sLmNvLnVrL-ABAqkCw2dLU40puz64AhjAAgXIAvPIxBaoAwHRA9xu4vF-H3fW6ANU6AOrAvUDAgAQxA&num=2&sig=AGiWqtxy21KOBb0L0sLiiDaVfIBXePQNCg&client=ca-pub-9394171572481910&adurl=http://clk.atdmt.com/MDG/go/257690385/direct/01/