Main GT Rd. Kharian,
Punjab, Pakistan
+92 301 620 2727
+92 335 620 2727
info [at] NinjaSofts.com
ninjasofts [at] gmail.com

How to Redirect from HTTPS to HTTP?

There are some specific situations when you want to redirect the particular website to be opened through HTTP instead of HTTPS. To do so you can add the following directives to your website’s .htaccess file:

# Redirect HTTPS to HTTP
RewriteCond %{HTTP:XForwardedProto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

This will redirect your “https://yourdomain.com” to “http://yourdomain.com“.


Let us Manage Your Online Empire Ninja Softs