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>
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
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>