Is this a correct code for robots.txt

Discussion in 'Search Engine Optimization' started by mouseclock, Aug 13, 2012.

  1. #1
    User-Agent: *Allow: /Sitemap: http://www.mydomain.com/sitemap.xml--------------------------This is what I have in my file, so is that correct? Anything else to be added or changed for further SEO?
     
    mouseclock, Aug 13, 2012 IP
  2. harry89

    harry89 Member

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    how to add the parameter to tell bots where the Sitemap is located.

    User-agent: *
    Sitemap: http://www.example.com/sitemap.xml

    tell the bots where your sitemap is located.

    Still you want more details then refer Wiki Tutorials.
     
    harry89, Aug 13, 2012 IP
  3. imknights

    imknights Guest

    Messages:
    75
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you are using WordPress you can just download the sitemap plugin and does not required any coding, it will be much more easier
     
    imknights, Aug 13, 2012 IP
  4. nufox

    nufox Peon

    Messages:
    749
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    nufox, Aug 13, 2012 IP
  5. mouseclock

    mouseclock Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    So isnt' this correct? I do not not have any restricted areas on my website for bots to prevent..

    User-Agent: *
    Disallow:
    Sitemap: http://www.example.com/sitemap.xml


    Correct??? And one more information is site is based on HTML (no wordpress)
     
    Last edited: Aug 13, 2012
    mouseclock, Aug 13, 2012 IP
  6. todion

    todion Member

    Messages:
    178
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #6
    Yes above all are given absolutely right robots.txt code but adding Xml sitemap is depends on your choice because it is not a parts robots code.
     
    todion, Aug 13, 2012 IP
  7. tizmon

    tizmon Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes this is the right manner of that, in which manner the robot text are put.
    [TABLE="width: 117"]
    [TR]
    [TD="class: xl66, width: 117, align: left"][/TD]
    [/TR]
    [/TABLE]
    Thanks.
     
    tizmon, Aug 13, 2012 IP
  8. liamreed89

    liamreed89 Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi mouseclock your right.
     
    liamreed89, Aug 13, 2012 IP
  9. houseofweddings

    houseofweddings Peon

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks for giving valuable information.
     
    houseofweddings, Aug 13, 2012 IP