I am trying to generate a sitemap for a customers website. When I use the online generators it only ever creates a sitemap with two urls, the index and contact page. Is there something that I have done wrong with my url structure? I can't find anything obvious.

  • What "the" online generator?
    – Su'
    Dec 19 '11 at 4:57
  1. Fix any validation errors.
  2. Use a different/better generator. Don't assume that whatever parser/crawler being used is good enough to deal with bad source code. I've seen at least one dumb enough to go ahead and index a link within a comment. This one seems to return more than whatever you're currently using. That's not an excuse not to fix your code first, anyway. (Also, I have no idea if that's everything, so you'll have to check yourself.)
  • Nice sitemap generator. Dec 19 '11 at 5:28
  • Thanks, I had forgotten to validate the code. I will do that ASAP and then try again. Thanks Su'
    – Sam
    Dec 20 '11 at 19:30

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.