rewrite for two words search query in url

Post Reply
kenhirai
Posts: 330
Joined: Wed Jan 02, 2013 4:25 am

rewrite for two words search query in url

Post 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.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: rewrite for two words search query in url

Post by admin »

Sorry, i do not want to be wrong with that so it would be better if you check original docs for it.
Don't forget to run script update
Post Reply