Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Local Search Pepper Prob

What do I put in the “Path” and “Query” fields after this pepper is installed?

So far I’ve tried to installed 2 peppers and they sure don’t seem to have any type of decent instructions for people that have no clue what they’re doing.

Can somebody explain to me what I should put in these fields?

After I run a search, the url looks like this: mydomain.com/games/search.php?action=se … t&x=17&y=6

Ronald Heft
Third-Party Pepper Developer
Posted on Jul 13, '07 at 07:06 pm

For the URL you provided:

Path: games/search.php Query: search

However, that URL doesn’t seem to be searching anything. Are you sure you have the correct URL?

i have the same question, i’m hoping that someone can help me here. when i do a search on my blog for the term “cat”, i get the following URL http://myurl.com/cgi-sys/cgiwrap/wenwon … search=cat

can someone please tell me what my Path and search fields should be? thanks.

Shaun Inman
Mint/Pepper Developer
Posted on Mar 24, '08 at 11:07 am

Path: /cgi-sys/cgiwrap/wenwon/managed-mt/mt-search.cgi
Query: search

thanks!

hi shaun, that path didn’t seem to work on mt. do you have any other suggestions? thanks.

fixed, thanks.

shaun,

just to let you know, the path works correctly without the opening forward slash on mt. so my path looks like this:

cgi-sys/cgiwrap/wenwon/managed-mt/mt-search.cgi

thanks for your help.

I’m having a similar problem. This has got to be easier than I’m making it.

My site is at blackmarks.net. Search box is at the left.

Thanks in advance.

Shaun Inman
Mint/Pepper Developer
Posted on May 07, '08 at 01:11 pm

Try:

Path: /
Query: s

I tested with a few different searches, but nothing.

CWV

punbros
Minted
Posted on May 11, '08 at 01:29 pm

Our website is basically a forum. We have IPB installed. What would be the Path and Query for the searches done in forum? Thanks a lot…

Alexome
Minted
Posted on Jun 04, '08 at 01:39 pm

Platform: Movable Type
Path: /cgi-bin/mt/mt-search.cgi
Query: (tag|search)

This works. However, when i use a rewrite rule in the .htaccess file, it does not work.

URL without rewrite rule: /cgi-bin/mt/mt-search.cgi?tag=something
URL with rewrite rule: /tag/something

I tried to no avail:
Path: (/cgi-bin/mt/mt-search.cgi|/tag/)
Query: (tag|search|[^<]+?)

With /tag/ for Path and nothing in Query, the pepper doesn’t recognize search queries. How can this be solved?
shufflesome.com/mint/

Shaun Inman
Mint/Pepper Developer
Posted on Jun 04, '08 at 02:17 pm

The Local Search Pepper requires that the search string be present in the query string. The rewrite rule is blasting that query string before Local Search sees it. As far as Local Search is concerned you are trying to match a directory, which it doesn’t allow.

adriankoooo
Mint-less
Posted on Jun 02, '10 at 06:02 pm

Guys, I need help.

working search url:

xy.com/search.php?search=text

With path: /search.php, query: search

not working. Why?

You must be logged in to reply. Login above or create an account