Support » Fixing WordPress » Robots file

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

    Text of

    User-agent: *
    Allow: /
    <!-- Analytics Code -->
    <script type="text/javascript" src=""></script>
    <noscript><a href=""><img src="" 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, the code is not there.

    Is there something I’m doing wrong? Please help…

Viewing 1 replies (of 1 total)
  • Andy Christian


    Contributor Day Volunteer

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Robots file’ is closed to new replies.