View Single Post
Old 07-30-2005, 10:55 PM   #1
innerfire
Green Mole
 
Join Date: Jul 2005
Posts: 2
Restricting search results by URL at the search form level

I know that this has been talked about a few times in the forum, and I have read through all posts, but know body has asked this specific question as far as I can tell. My site is broken up by different languages via sub-directories, for example, es.mysite.com and de.mysite.com. However, my search results once all domains are spidered are mixed. So, from each language area I want to restrict results to that sub-domain (which phpdig treats as a unique URL, which I like, thus making this much more easy). What is the code to simply add this variable into the form? I don't want the form on en.mysite.com to show results for anything other than en.mysite.com. I don't need any option buttons, just need to know how to pass the restriction along to the rest of the program (my php skills suck).
innerfire is offline   Reply With Quote