Hi,
I would like to use .htaccess (and regex) to accomplish this:
After typing query into searchbox and pressing enter, the url is:
http://subdomain.domain.com/index.ph...money&search=1
but address bar in browser is (for user and google) showing this:
http://subdomain.domain.com/money
AND
after typing in address bar in browser
http://subdomain.domain.com/money
it actually goes to
http://subdomain.domain.com/index.ph...money&search=1
but in address bar in browser still showing
http://subdomain.domain.com/money
I tried everything but no success. Eg. this:
Code:
RewriteCond %{QUERY_STRING} ^query=(.*)$ [NC]
RewriteRule ^/index.php$ /%1 [NC,L,R=301]
Pls, could you help? Thank you very much.