RewriteCond %{QUERY_STRING} ^q=(.*)$
    RewriteRule ^(products/search(/[^/]+)*)/?$ /$1/q:%1? [R=301,L]

Will rewrite (for example) `/products/search/page:2/?q=bacon` to `/
products/search/page:2/q:bacon`

hth
grigri

On Feb 11, 9:08 pm, Miles J <[email protected]> wrote:
> Anyone have an idea how to do the .htaccess?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to