Google Free Search Box...giving me Youtube videos?

Discussion in 'Web Design and Development' started by Sdashiki, Sep 17, 2008.

  1. Sdashiki macrumors 68040

    Sdashiki

    Joined:
    Aug 11, 2005
    Location:
    Behind the lens
    #1
    I have this google search box, the free kind:

    And for the past few days, generic searches are now giving YouTube results that are in no way on the site, linked to the site, or have anything to do with the site at all.

    WTF is going on?
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Try placing quotes around the attributes, example:
    HTML:
    <input type="hidden" name="site search" value="MYSITE">
    What you had before wasn't valid HTML so may have caused parsing issues.
     
  3. Sdashiki thread starter macrumors 68040

    Sdashiki

    Joined:
    Aug 11, 2005
    Location:
    Behind the lens
    #3
    Never had this issue before.

    No matter, I have found Custom Google Search, which allows me to force its search to specific domain(s) and block others.

    Problem solved.
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    I use the same thing on my site and was about to recommend it. The only part I dislike is that I have to have their iframe on my site which screws with my design a little bit and hurts the accessibility.
     
  5. Sdashiki thread starter macrumors 68040

    Sdashiki

    Joined:
    Aug 11, 2005
    Location:
    Behind the lens
    #5
    I just use their results page and use our logo with the search box. Works well enough. And you can tailor the results colors, though not the font or weight.

    Sucks it has to be connected to a google accnt though.
     

Share This Page