2
I have the following problem, I need to redirect to the following url:
site/nossos-socios.php?termo=teste
for
site/nossos-socios/?q=teste
I need you to have the question before q=, I tried using the question escape, but it doesn’t work.
Follow my . htaccess below, it redirects only to nossos-socios/q=aço
:
RewriteRule ^nossos-socios/q\=([^/.]+)?$ nossos-socios.php?termo=$1 [NC,L]
Take a look here. You’ll probably have to use the
%{QUERY_STRING}
as quoted in the reply.– gato