WordPress.org

Ready to get started?Download WordPress

Forums

Weird text in robots.txt (1 post)

  1. rubytuesday
    Member
    Posted 4 years ago #

    Hi all,

    When I look at my domain's robots.txt file eg. http://www.mydomain.com/robots.txt, it looks like this:

    User-agent: *
    Disallow:

    Sitemap: http://www.mydomain.com/sitemap.xml.gz

    When I look in my Google WebMaster account, the under Site Configuration, Crawler Access, Test Robots.txt tabs, the text in the file is reported as the following. (Please note I've substituted my domain information for some generic text ...)

    Why are w3.org and gmpg.org in there? Are these legit, or have I been hacked?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="My domain's description here" />
    <title>My domain's name here » Maintenance Mode</title>

    <style type="text/css">
    <!--
    * { margin: 0; padding: 0; }
    body { font-family: Georgia, Arial, Helvetica, Sans Serif; font-size: 65.5%; }
    a { color: #08658F; }
    a:hover { color: #0092BF; }
    #header { color: #333; padding: 1.5em; text-align: center; font-size: 1.2em; border-bottom: 1px solid #08658F; }
    #content { font-size: 150%; width:80%; margin:0 auto; padding: 5% 0; text-align: center; }
    #content p { font-size: 1em; padding: .8em 0; }
    h1, h2 { color: #08658F; }
    h1 { font-size: 300%; padding: .5em 0; }
    #menu { position: absolute; font-family: Arial, Helvetica, Sans Serif; bottom: 2em; width: 100%; border-top: 1px solid #08658F; }
    #menu #pluginauthor { padding-left: .3em; }
    #menu #admin { float: right; padding-right: .3em; }
    -->
    </style>

    </head>

    <body>

    <div id="header">
    <h2>My domain name</h2>
    </div>

    <div id="content">
    <p style="text-align: center;">
    <img height="353" width="500" src="http://www.mydomain.com/images/logo.gif" alt="Alternative text here" /></p>
    <p> </p>
    <p style="font-family: arial; text-align: center;"><span style="font-weight: bold;">
    <align=centre><big style="font-weight: bold; font-family: Microsoft Sans Serif;"><big>Welcome message here. </big></big>
    </align=centre></span></p>

    <p style="text-align: center; font-family: Microsoft Sans Serif;">
    <style="font-family: arial;="">
    <align=centre>More welcome information here</align=centre></style="font-family:></p>

    <p style="text-align: center; font-family: Microsoft Sans Serif;">More welecome info here

    </div>

    <div id="menu">
    <p id="admin">Log In</p>
    <p id="pluginauthor">Maintenance Mode plugin provided by Software Guide.</p>

    </div>

    </body>
    </html>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.