Forum Moderators: mack

Message Too Old, No Replies

sitemap.gz - Is this correct?

         

Clivez

6:57 pm on Sep 6, 2005 (gmt 0)

10+ Year Member



I've been reading about Google listings and the importance having a sitemap file on the server. Is the following correct for my website - it's a very simple site? I've saved it to a file called sitemap.gz

Assuming that it is in order do I now simply up-load it to the public-html directory of my server and then submit it to Google?

Thanks a lot. Feeling a bit thick!

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc>http://www.example.com</loc>
<lastmod>2005-09-07</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://www.example.com/locality.html</loc>
<priority>0.5</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://www.example.com/pricing.html</loc>
<priority>0.5</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://www.example.com/arriving.htm</loc>
<priority>0.5</priority>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://www.example.com/contact.html</loc>
<priority>0.5</priority>
<changefreq>weekly</changefreq>
</url>
</urlset>

[edited by: mack at 8:37 pm (utc) on Sep. 6, 2005]
[edit reason] examplefied. [/edit]

JKMitchell

12:59 pm on Sep 7, 2005 (gmt 0)

10+ Year Member



I've saved it to a file called sitemap.gz

The ".gz" normally indicates a zipped file (to save space) in Linux. I personally would call the file sitemap.xml and then put it in the root directory of your website, let Google know and then sit back and wait for it to be read.

HTH

John

Clivez

4:43 pm on Sep 7, 2005 (gmt 0)

10+ Year Member



Thanks JK. I had already gathered as much from another forum this morning and carried it all out just sa you've said.

Thanks for replying though. Much appreciated.