#1
  1. No Profile Picture
    Registered User

    Join Date
    Aug 2016
    Posts
    2
    Rep Power
    0

    Error in robots.txt file


    Hello,

    I created a robots.txt file for my website and uploaded to root folder.
    When I open http://mywebsite/robots.txt everything looks fine but in google webmaster tools
    it say's error .

    Actual robots.txt--

    Code:
    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /download/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/
    Disallow: /feed/
    Disallow: */feed/
    Sitemap: http://stockfirmware.me/sitemap.xml

    But google scans --

    Code:
    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /download/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/
    Disallow: /feed/
    Disallow: */feed/
    Sitemap: http://stockfirmware.me/sitemap.xml
    
    
    <!-- Hosting24 Analytics Code -->
    <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
    <!-- End Of Analytics Code -->

    I don't know from where the last three lines come from.
    I am totally blank.

    PLease help me.

    Thank you for your help
  2. #2
  3. Just a Photographer
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    May 2011
    Location
    Atwater, CA
    Posts
    1,118
    Rep Power
    2452
    I did a Google search and found several articles about it. Sounds like you need a better hosting company, but this may help:

    SomeT.I.P.: Remove Hosting24 Analytics Code in website hosted on 000webhost
    Last edited by Hikin Mike; Aug 27th, 2016 at 07:19 PM.
    - Mike

    Jack of all trades, master of none.

Similar Threads

  1. Robots error
    By pavithra vasa in forum Search Engine Optimization
    Replies: 8
    Last Post: Jul 30th, 2015, 11:00 AM
  2. When we add any file in robots.txt. then why disallow file display at SERP?
    By smyth in forum New User SEO Questions and Answers
    Replies: 2
    Last Post: Jun 22nd, 2014, 09:16 PM
  3. Robots.txt to fix 404 error?
    By oneday in forum Google Optimization
    Replies: 2
    Last Post: Jan 20th, 2008, 01:31 PM
  4. Robots.txt error.
    By Glenn Kilpatric in forum Google Optimization
    Replies: 6
    Last Post: Jun 26th, 2007, 11:25 AM
  5. Robots.txt Error
    By nainil in forum Google Optimization
    Replies: 3
    Last Post: May 4th, 2004, 01:03 PM

IMN logo majestic logo threadwatch logo seochat tools logo