WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Strange Text in Robots file

[Resolved] Strange Text in Robots file

  • heliumdesign
    Member

    @heliumdesign

    I just installed XML plugin the other day, and our robots.txt file looks like this. What is the

    "<div id="linksID">
    <a href=/enchiridion209/>enchiridion209</a>
    </div>"
    part all about?
    
    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    
    Sitemap: http://noriskcrossfit.com/sitemap.xml.gz
    <div id="linksID">
    <a href=/enchiridion209/>enchiridion209</a>
    </div>
    <script>document.getElementById("linksID").style.display="none"</script>

    http://wordpress.org/plugins/google-sitemap-generator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sevenhelmets
    Member

    @sevenhelmets

    Definitely clean that out, and run your site through a site scan like Sucuri, as that code has been hacked.

    If you do a search for “<script>document.getElementById(“linksID”).style.display=”none”</script>” you’ll see a ton of site’s “robots.txt” files infected with the same hack.

    Plugin Contributor Arne Brachhold
    Member

    @arnee

    That is not from the plugin. Better re-install your whole site, since it looks it has been hacked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Strange Text in Robots file’ is closed to new replies.