WordPress.org

Forums

Google XML Sitemaps
[resolved] Strange Text in Robots file (3 posts)

  1. heliumdesign
    Member
    Posted 1 year ago #

    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/

  2. Sevenhelmets
    Member
    Posted 1 year ago #

    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.

  3. Arne Brachhold
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic