WordPress.org

Ready to get started?Download WordPress

Forums

Robots file (2 posts)

  1. hustin09
    Member
    Posted 3 years ago #

    I'm having an issue with my robots.txt file in Google specifically. I see this message:

    Text of http://columbusgadeals.com/robots.txt

    User-agent: *
    Allow: /
    
    <!-- www.000webhost.com Analytics Code -->
    <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
    <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
    <!-- End Of Analytics Code -->

    and because of the analytics code it is returning a Syntax not understood message for each line. I have checked and checked and checked for this code to remove it but I cannot. I thought I did the trick when I turned the analytics from my host off and when you visit columbusgadeals.com/robots.txt, the code is not there.

    Is there something I'm doing wrong? Please help...

  2. Looks like your host was adding the analytics code to the bottom of every file in your WordPress directory. Try installing a google analytics plugin instead.

Topic Closed

This topic has been closed to new replies.

About this Topic