Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sdashiki

macrumors 68040
Original poster
Aug 11, 2005
3,529
11
Behind the lens
I have this google search box, the free kind:

<!-- SiteSearch Google -->
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<br />
<TABLE>
<tr>
<td>
<INPUT TYPE=text name=q size=20 maxlength=100 value="Search">
<INPUT type=submit name=btnG VALUE="Go">
<input type=hidden name=domains value="MYSITE">
<input type=hidden name=site search value="MYSITE">
</td>
</tr></TABLE>
</FORM>
<!-- SiteSearch Google -->

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?
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
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.
 

Sdashiki

macrumors 68040
Original poster
Aug 11, 2005
3,529
11
Behind the lens
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.
 

angelwatt

Moderator emeritus
Aug 16, 2005
7,852
9
USA
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.

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.
 

Sdashiki

macrumors 68040
Original poster
Aug 11, 2005
3,529
11
Behind the lens
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.