• Resolved bradbrown

    (@bradbrown)


    I have discovered a problem when a Google mobile crawler visits my desktop site. It attempts to do a 301 to the corresponding mobile domain, as it should. However, the location parameter includes garbage in the URL.

    For example, when a mobile Googlebot visits “http://www.bradbrownmagic.com/programs/overview/” it should be forwarded to “http://m.bradbrownmagic.com/programs/overview/”. Instead it is being forward to “http://m.bradbrownmagic.com/pro%E2%80%8Bgra%E2%80%8Bms/%E2%80%8Bove%E2%80%8Brvi%E2%80%8Bew/”

    For reference, here is everything being returned by a request from a mobile Googlebot:

    HTTP/1.1 301 Moved Permanently
    Date: Thu, 26 May 2011 21:47:34 GMT
    Server: Apache
    X-Powered-By: PHP/5.2.17
    X-Pingback: http://m.bradbrownmagic.com/xmlrpc.php
    X-Mobilized-By: WordPress Mobile Pack 1.2.4
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Vary: Host,Accept-Encoding
    Last-Modified: Thu, 26 May 2011 21:47:35 GMT
    Location: http://m.bradbrownmagic.com/pro%E2%80%8Bgra%E2%80%8Bms/%E2%80%8Bove%E2%80%8Brvi%E2%80%8Bew/
    Content-Encoding: gzip
    Content-Length: 20
    Keep-Alive: timeout=10, max=30
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8

    I’ll keep digging, but was wondering if anyone had a clue as to what’s causing this.

    -Brad

Viewing 1 replies (of 1 total)
  • Thread Starter bradbrown

    (@bradbrown)

    I figured it out. It’s an issue related to Google Webmaster Tools. Everything is working as it should with the plugin.

    FYI, here’s what happened: When I had webmaster tools fetch my site as a Googlebot mobile, I cut and pasted the URL from the screen from a previous search as “normal” Googlebot. For whatever reason, the Webmaster Tools page include extra characters in the URL. They aren’t visible, but they are there, as can be seen by pasting the URL into something like notepad. This introduced the error. If I type in the address, or paste it from somewhere else, the problem goes away.

Viewing 1 replies (of 1 total)

The topic ‘Switcher Redirects Mobile Googlebot Incorrectly’ is closed to new replies.