Tough question: should sitemap contain directories?

Discussion in 'Google Sitemaps' started by ranman1973, Sep 5, 2009.

  1. #1
    The xml sitemap generator that I used listed directories AS WELL AS the index.html page.

    E.g. http://www.mydomain.com/foo/

    and http://www.mydomain.com/foo/index.html

    Webmasters Tools' HTML Suggestions is saying I have duplicate meta descriptions.

    Should directories be included in XML sitemap files? I am thinking that I should take them out since I have the index.html file.
     
    ranman1973, Sep 5, 2009 IP
  2. websitetools

    websitetools Well-Known Member

    Messages:
    1,513
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #2
    In the next version of my sitemapper I will default (but it's optional) to only include the directories in cases where http://www.example.com/foo/ both http://www.example.com/foo/index.html return response code 200

    However, the best solution is of of course that you as webmaster decide which should be the correct URL and redirect the wrong URL to the correct one! :)
     
    websitetools, Sep 6, 2009 IP