For a particular file, I want to force http instead of https
Example:
https://example.com/test.php?parameter1=value1
should be send to
http://example.com/test.php?parameter1=value1
How can I achieve this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is not very clear but try this .htaccess code:
This will redirect ONLY if QUERY string
parameter1=somethingis present in the original URL. If you want to redirect all/test.phpURIs to https then remove the 1st RewriteCond line.