Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Herculinks] Static term for search box

Quote Reply
Re: [Herculinks] Static term for search box In reply to
You mean like /search/somethigng , and that goes to search.cgi?query=something

?

You can't do it for "box" (well, you could - with some JS probably, but not got time to play around with that =))

Doing it just as a link its pretty simple with a rewrite rule. Something like:

Code:
RewriteRule ^search/(.*) /cgi-bin/search.cgi?query=$1 [L]

..but that will only partly work (for example, the span pages etc won't have the same thing).

I've done it before - where it coverts like that - and even works with span pages - but its long winded to do, and pretty complex.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Static term for search box Herculinks 3671 Sep 1, 2009, 11:35 AM
Thread Re: [Herculinks] Static term for search box
Andy 3596 Sep 1, 2009, 12:20 PM
Thread Re: [Andy] Static term for search box
Herculinks 3598 Sep 1, 2009, 12:39 PM
Post Re: [Herculinks] Static term for search box
Andy 3606 Sep 1, 2009, 12:52 PM