Main GT Rd. Kharian,
Punjab, Pakistan
+92 335 059 2727
WhatsApp Support
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“.

Start Helpline chat
Need Help? or Guideline
Hello 👏
Can we help you?
Powered by