Response code 302 and robot.txt

Discussion in 'Google Analytics' started by v4vaibhav, Oct 16, 2012.

  1. #1
    I am a newbie in internet business and my site url is www.howtocrackaninterview.com

    Now in my webmasters account

    in site errors

    it says: 1 error (in blue icon) which says not followed.

    it also shows a response code of 302. How can I change it to 301 as I searched on google and it says it should be 301?

    and what should be robot.txt file so that it is good for SEO. my current robot.txt reads as follows

    User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/

    Is it fine, if not how it should be actually?

    Please help, as I am in trouble with all this.

    Thanks..
     
    v4vaibhav, Oct 16, 2012 IP
  2. Google Services

    Google Services Greenhorn

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Its fine , but if you have created XML site map of your site then you would have to add the XML site map url in robot.txt .
     
    Google Services, Oct 16, 2012 IP
  3. v4vaibhav

    v4vaibhav Greenhorn

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Thanks a lot for the advice...

    Can you also suggest what should I exactly add in my robots.txt file to do that. Moreover, when I checked the root directory, I found no file by the name robots.txt....so where else it could be?

    Thanks again.
     
    v4vaibhav, Oct 17, 2012 IP