making seo for search form

Posted by Ronnie Chester Lynwood on Stack Overflow See other posts from Stack Overflow or by Ronnie Chester Lynwood
Published on 2010-04-02T20:17:53Z Indexed on 2010/04/02 20:23 UTC
Read the original article Hit count: 496

Filed under:
|
|
|

hello ive got a search form that sends "q" value with post method. and i want to seo it like TYPE-Q. for example i search for "need for speed" and it returns "game-need-for-speed" but no results. but when i changed adress like to "game-need for speed" i can get results. how can i bypass "-"'s ?

htaccess:

RewriteRule (.)-(.)-(.*)$ /index.php?q=$2&page=$3&type=$1

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about php