1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Advanced SEO Question: I have a responsive design, how do I control what googlebot sees?

Discussion in 'White Hat SEO' started by Taktical, Jun 24, 2013.

  1. Taktical

    Taktical Elite Member

    Joined:
    May 15, 2011
    Messages:
    1,657
    Likes Received:
    3,227
    Occupation:
    Jr.Executive VIP
    Location:
    USA
    I've ranked my clients site for really tough keywords worth millions. Now they're launching a crazy redesign with a lot of complex java. The site is responsive, meaning that different browsers get different versions of the code.

    Thats not the problem. The problem is the because the site is so complex, using HTML5, AJAX and javascript, that the code is WILDLY different from one browser to the next. For example, safari on mac sees all the content nice and clean, just the way you'd like it. On chrome however, you can't see even one word of text, its all referenced in external java files.

    Now i've checked how the site looks to googlebot, and of course its the chrome version that i dont want it to see. Can I control what version of the responsive design googlebot sees? How can i direct the site to call up the correct version when googlebot comes across it?

    If thats not possible, which browser should i optimize the code for so that googlebot sees it?

    Thanks!
     
  2. satar

    satar Registered Member

    Joined:
    May 8, 2013
    Messages:
    57
    Likes Received:
    2
    Occupation:
    internet marketing and college
    Home Page:
    search engines in particular crawl pages and if there is something in particular hiding or not allowing google to crawl those pages then of course you may not see the text. perhaps check robots.txt? and check if there is any directory that is being hidden or unallowed to crawl perhaps that could be the issue?
     
  3. Taktical

    Taktical Elite Member

    Joined:
    May 15, 2011
    Messages:
    1,657
    Likes Received:
    3,227
    Occupation:
    Jr.Executive VIP
    Location:
    USA
    I appreciate your attempt at helping, but either you didn't read my post carefully or this issue might be over your head. perhaps someone with more expertise should help.

    thank you for trying though!
     
  4. mason.aaron

    mason.aaron BANNED BANNED

    Joined:
    Nov 19, 2011
    Messages:
    33
    Likes Received:
    1
    Just use the proper html codes, Don't over optimize the site
     
  5. Taktical

    Taktical Elite Member

    Joined:
    May 15, 2011
    Messages:
    1,657
    Likes Received:
    3,227
    Occupation:
    Jr.Executive VIP
    Location:
    USA
    Really? can i get a pro here please?
     
  6. CosmicSoundz

    CosmicSoundz BANNED BANNED

    Joined:
    Apr 30, 2012
    Messages:
    1,230
    Likes Received:
    1,296
    lol these replies are hilarious.
     
    • Thanks Thanks x 1
  7. Nitros

    Nitros Power Member

    Joined:
    Jan 30, 2009
    Messages:
    573
    Likes Received:
    295
    You could redirect google bots to specific site that you want them to see. Some can be detected by user agents and some only by IP. There was a pretty good list of google bot IPs on Fantomaster cloacking script while ago but I'm not sure if it is available anymore.

    Code:
    [COLOR=#000000][B]<?php[/B][/COLOR]   [COLOR=#000088]
    $useragent[/COLOR] [COLOR=#339933]=[/COLOR] [COLOR=#000088]$_SERVER[/COLOR][COLOR=#009900][[/COLOR][COLOR=#0000ff]'HTTP_USER_AGENT'[/COLOR][COLOR=#009900]][/COLOR][COLOR=#339933];[/COLOR]
    [COLOR=#b1b100]if[/COLOR][COLOR=#009900]([/COLOR] [URL="http://www.php.net/strpos"][COLOR=#990000]strpos[/COLOR][/URL][COLOR=#009900]([/COLOR][COLOR=#000088]$useragent[/COLOR][COLOR=#339933],[/COLOR][COLOR=#0000ff]"Google User Agent"[/COLOR][COLOR=#009900])[/COLOR] [COLOR=#009900])[/COLOR] [COLOR=#009900]{[/COLOR]
         [URL="http://www.php.net/header"][COLOR=#990000]header[/COLOR][/URL][COLOR=#009900]([/COLOR][COLOR=#0000ff]"Location: index2.php"[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
     [COLOR=#009900]}[/COLOR]
    [COLOR=#000000][B]?>[/B][/COLOR]
    Code:
    <?php
    
    $ip = $_SERVER['REMOTE_ADDR'];
    if (preg_match("/Google.IP/",$ip)) {
    
          header('Location: index2.php');
    
    };
    
    ?>
    
    
    
    If you have more control over you clients website you can also modify their script to show content based on the IP/User agent.

    Code:
    <?php
    $ip = $_SERVER['REMOTE_ADDR'];
    if (preg_match("/Google.IP/",$ip)) {
    WEBSITE CONTENT
    }else{
    WEBSITE CONTENT
    };
    ?>
     
    • Thanks Thanks x 1
    Last edited: Jun 24, 2013
  8. kuskka

    kuskka Junior Member

    Joined:
    Jun 24, 2013
    Messages:
    110
    Likes Received:
    22
    Home Page:
    I'm not sure what you're trying to say, but if you create a responsive website, make sure to not hide any content - The content a user with big screen see, a user with small screen will have to see too. Of course, in a different layout, but the content and the HTML has to be the same. I assume you're using CSS3 media queries to make your layout responsive, right?

    I don't recommend to use lots of AJAX requests, since Googlebot aren't able to read.
     
  9. Taktical

    Taktical Elite Member

    Joined:
    May 15, 2011
    Messages:
    1,657
    Likes Received:
    3,227
    Occupation:
    Jr.Executive VIP
    Location:
    USA
    Thank you