Sitemap is creating problems

Discussion in 'Search Engine Optimization' started by Siservices, Oct 14, 2014.

  1. #1
    I have created a sitemap and when I tested it in webmaster tools then its showing 404 error. I want to ask that is just submitting sitemap to GWT is enough or before that we have to add it into the root? If it has to be added then where in the index file? Is there any specific place or we can add it anywhere. Doing it first time that's why I am little bit confused.
     
    Siservices, Oct 14, 2014 IP
  2. paullopez

    paullopez Active Member

    Messages:
    102
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    68
    #2
    paullopez, Oct 14, 2014 IP
  3. Poupoupidou

    Poupoupidou Member

    Messages:
    44
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #3
    You don't need (and shouldn't) set your sitemap in index.html (unless you are talking about an HTML sitemap, in that case, yes, the top of it should be part of your http://mysite.com/index.html file). Put your XML sitemap at the root, for example: http://mysite.com/sitemap.xml and submit it to search engines. Eventually, you can define your sitemap url (i.e., location) in your robots.txt file.
     
    Poupoupidou, Oct 14, 2014 IP