FP2000 Search Form Exclude Scripting

D

Dan

I have started a search form on a web site but have found that when a keyword
is entered for search the results brings up the web site stats folder-pages
also. I contacted my host provider and they said I needed to put in an
"exclude" script in the form field scripting within the HTML coding. Does
anyone know how this can be accomplished?

This is what I tried to insert, but it did not work;
S-Exclude="www.stat" (stats folder)

This is the code (default) in the HTML;
<!--webbot bot="Search" S-Index="All" S-Fields="Weight" Web Site"
I-Size="20" S-Submit="Start Search" S-Clear="Reset"
S-TimestampFormat="%m/%d/%Y" TAG="BODY" b-useindexserver="0" Weight"
Search S-Text="Search for:" DareToDreamNetwork -->
 
R

Ronx

The FrontPage search is not that clever, unless you are on a Windows
server and use Index Server. The code snippet you provide suggests
this is not the case - but it could be taken from your local machine
which may be set up differently to your server.

You could convert the stats folder to a subweb - if your host supports
subwebs. This will also prevent FP from deleting the stats files when
(if) you publish from your local PC to the server. The FrontPAge
search will not look at files in subwebs, or files in folders starting
with an underscore (such as _borders).
 
D

Dan

Thank you Ron, Iwill contact my host provider to see if they can put the
stats in a subweb, or insert the underscore in the folder name. Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top