Apache RewriteRule issue in .htaccess -
i have redirect permanently urls:
http://www.example.com/?par=1248 (with , without www)
to
http://www.example.com
using .htaccess file.
the placeholders used above, "par" , "1248", (char(s), number(s), ..)
this should work , redirect urls want:
rewriteengine on rewritecond %{the_request} ^(get|post)\ /\?(.*)\ http rewriterule ^ /? [r=301,l]
Comments
Post a Comment