Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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>
share|improve this question
    
John made the code display correctly -- how do i do that? –  Richard Sep 10 '11 at 17:03
    
also: do i put a forward-slash after every url entry in the Sitemaps doc? –  Richard Sep 10 '11 at 17:06
add comment

1 Answer 1

up vote 2 down vote accepted

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>
share|improve this answer
    
thanks again, John –  Richard Sep 10 '11 at 17:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.