I'm creating a Sitemap manually.

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

  • 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

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">
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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