Hi all, Is my sitemap correct? Also, should I put a link to it in my navigation bar on my homepage, is this what most people do? Thanks. <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.simonspetportraits.co.uk//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>http://www.simonspetportraits.co.uk/pet_portraits_from_photographs.html//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>http://www.simonspetportraits.co.uk/pet_portrait_pricing.html//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>http://www.simonspetportraits.co.uk/people_portraits.html//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>http://www.simonspetportraits.co.uk/contact_portrait_artist.html//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> <url> <loc>http://www.simonspetportraits.co.uk/dog_and_cat_portrait_links.html//</loc> <lastmod>2005-01-01</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset>
It seems you are ending all URLs with double-slash? Anyways, you don't need to link the xml sitemap, just add a reference to it in your robots.txt file. See this article for more information about submit xml sitemaps.
Thanks I've changed that now. Do I need the <lastmod> <changefreq> and <priority> tags? Or is the <loc> enough? Thanks,
Yes those are important... you have the priority set to 0.8 for all your links you should have your most important page set to 1.0 then your second most important set to 0.9 then your third at 0.8 and so on and so forth... and instead of monthly you should change it to weekly... Hope I Helped...P.S. if you have new content then you should change the last mod date to today's date...