Forum Moderators: phranque
Thanks,
Nservices.
In this case, it looks like you might need a redirect instead of a rewrite.
Check [google.com...] for some pointers to get started and post your best effort back here for discussion.
any idea ?
Options +FollowSymLinks
RewriteEngine on
#
RewriteCond %{HTTP_HOST} =www.example.com
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{QUERY_STRING} =option=com_chronocontact&chronoformname=form1
RewriteRule ^index\.php$ https://www.example.com/index.php [R=301,L]
Note that query strings pass through mod_rewrite unchanged unless they are explicitly replaced in the substitution URL. It is therefore not necessary to mention the query string in the RewriteRule substitution in this case.
Jim
[edited by: jdMorgan at 1:24 pm (utc) on June 6, 2009]