Page 1 of 1

rewrite for two words search query in url

Posted: Mon Aug 05, 2013 3:46 am
by kenhirai
if I had two words for example: anal teen
the url will be http://domain.com/?search=anal teen
what is the mod rewrite to put syntax "+ &" between two words search query, like
http://domain.com/?search=anal+teen
please help.

RewriteRule ^search/(.*)/(.*)/(.*)/(.*)/$ /scj/tube/index.php?search_type=$1&search=$2&order=$3&page=$4

thank u.

Re: rewrite for two words search query in url

Posted: Mon Aug 05, 2013 12:37 pm
by admin
Sorry, i do not want to be wrong with that so it would be better if you check original docs for it.