Gossamer Forum
Home : Products : Gossamer Links : Discussions :

mod_rewrite for internal search

Quote Reply
mod_rewrite for internal search
hi,

use anyone mod_rewrite to build a "static" internal search engine?

i want to build links into the search engine like: www.abc.de/search/keyword.html .

can anyone help me?
Quote Reply
Re: [topseo] mod_rewrite for internal search In reply to
Hi,

would be something like this I guess:
RewriteEngine on
RewriteRule ^search/(.*).html$ /search.cgi?query=$1

Regards

N || i k o
Quote Reply
Re: [el noe] mod_rewrite for internal search In reply to
hi niko,

thanks for your reply, but it doesnt work.
Quote Reply
Re: [el noe] mod_rewrite for internal search In reply to
@niko


it works.
i have place the htaccess in the wrong folder.