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

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -