Mobile app version of vmapp.org
Login or Join
Samaraweera270

: Code for sitemap -- 'weekly.? I'm creating a Sitemap manually. If I want to specify a url to be crawled weekly, is this the right code: <url> <loc>http://wordfruit.com/</loc>

@Samaraweera270

Posted in: #Sitemap #XmlSitemap

I'm creating a Sitemap manually.

If I want to specify a url to be crawled weekly, is this the right code:

<url>
<loc>http://wordfruit.com/</loc>
<changefreq>weekly</changefreq>
</url>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

XML sitemaps don't really control how often the search engines crawl a page. It's merely a suggestion and based on experience and feedback from other webmasters it seems as though it is ignored completely.

Otherwise your code is fine. Below is the sample snippet shown on the official XML Sitemap website for reference.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/</loc>
<lastmod>2005-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme