Current output, using the "get" method on the form:
http://www.example.com/cms/mt33/mt-search....rch=search+term
Desired URL:
http://www.example.com/search/search+term
The problem is that I don't know how to configure the search form to output the URL as above.
The current search form:
CODE
<form method="get" action="<$MTCGIPath$><$MTSearchScript$>" id="search-form">
<input type="hidden" name="IncludeBlogs" value="1">
<input type="text" size="20" name="search" id="search" value="<$MTSearchString encode_html="1"$>" /><br /><input type="submit" value="search"></form>
<input type="hidden" name="IncludeBlogs" value="1">
<input type="text" size="20" name="search" id="search" value="<$MTSearchString encode_html="1"$>" /><br /><input type="submit" value="search"></form>
Alternatively, I'd be (slightly less) happy if I could use mod_rewrite to properly process/direct the following URL (which I can get from the search form):
http://www.example.com/search?q=search+term
My current .htaccess file includes the following rules so that my http://www.example.com/tag/search+term syntax works, and to create a matching http://www.example.com/search/search+term syntax for searches:
CODE
RewriteEngine on
RewriteRule tag/(.+) cms/mt33/mt-search.cgi?tag=$1&blog_id=1
RewriteRule search/(.+) cms/mt33/mt-search.cgi?IncludeBlogs=1&search=$1
RewriteRule tag/(.+) cms/mt33/mt-search.cgi?tag=$1&blog_id=1
RewriteRule search/(.+) cms/mt33/mt-search.cgi?IncludeBlogs=1&search=$1
Any help would be appreciated.