Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Google search code, do pages need to have PR?

Why does it not work?

         

Shaundm

7:42 pm on Nov 28, 2005 (gmt 0)

10+ Year Member



I have a website which is about 6 months old. The front page has a PR of 2, the inner pages have no PR. I want to add a search facility to my site so that people can specifically search my site for names(it contains info on Familiy History & names, etc). However the search only seems to work on the 1st page. Is there something wrong with my code, see below? or what is the code?
Thanks

<!-- SiteSearch Google -->
</span>
<FORM method=GET action="http://www.google.com/search">
<span class="Text">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
</span>
<TABLE bgcolor="#FFFFFF"><tr><td>
<span class="Text"><A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google"></A>
</span></td>
<td>
<span class="Text">
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
<font size=-1>
<input type=hidden name=domains value="http://www.example.com">
<br>
<input type=radio name=sitesearch value="">
www
<input type=radio name=sitesearch value="http://www.example.com" checked>
http://www.example.com <br>
</font>
</span></td></tr></TABLE>
</FORM>
<span class="Text">
<!-- SiteSearch Google -->

encyclo

3:08 am on Nov 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Using the Google site search is only useful if your site is fully indexed by Google. Pagerank is not a big problem, but if when you use site:www.example.com your pages are listed as URL only or not at all, then the site search is pretty much useless.

If your site is better-indexed in Yahoo or MSN, you can use their free search alternatives instead.

Shaundm

1:45 pm on Nov 30, 2005 (gmt 0)

10+ Year Member



Fanstastic, I've now gone to MSN Search code and it works perfectly.

Thanks