Forum Moderators: phranque
RewriteEngine On
#RewriteRule ^$ [site.com...] [PT,L]
#RewriteRule ^/$ [site.com...] [PT,L]
#RewriteRule ^index\.php$ [site.com...] [PT,L]
You appear to be using a series of 302 redirects (as indicated by using a domain name in the target, but there is no
R=3nn code to say it is a redirect). I would have assumed that you would want a rewrite, not a redirect?
For a rewrite, the target is a folder and filepath, and the domain name must not be included.
The first line would work only in .htaccess and the second line would work only in httpd.conf - otherwise they are functionally identical. Where are you using this code?
The word
QUERY_STRING should be all in Upper Case.