I want to redirect website from https to http 302. I am using below code:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTPS} on
RewriteRule ^/?$ http://%{www.example.com}/ [L,R=302]
But it is not working. How can I do?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou can add below code in your project root .htaccess file.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule ^(.*) http://www.domain.com%{REQUEST_URI} [R=302,NC]