how to redirect https to http using .htaccess in cPanel

how to redirect https to http using .htaccess in cPanel

 

https to http using .htaccess file it is very easy you have need to put some simple code in htaccess file and save it and your jobs done

 

what need to redirect https to http?

Normally every web admin search “how to redirect http to https” but several time if search engine index your no HTTPS page as HTTPS page then you will need to do it because when user will open your site with https://example .com then the web explorer will so https error if you have not installed ssl at your web server. And you will lost your visitors and your site trust

So you need to do it for only NON SSL domain

What is .htaccess  file ?

.htaccess is a configuration file. It is using on web servers that running the Apache Web Server software.

This file code can control your site redirection, indexing, and much more. It can find in your server file manger with “.htacces” name if this is not in your file manger then you can check your hidden file.

Simple step redirect https to http using .htaccess

  1. login in your cpanel
  2. click at file manager
  3. find .htaccess file in your file manger
  4. click right button at it and click edit option
  5. copy the blow code and paste it in your file and save
code : RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

 

हमारी साईट को ऊपर दिए बटन पर क्लिक कर like व शेयर जरुर करे

सरकारी नौकरी व सरकारी रिजल्ट के बारे में इंग्लिश में पढने के लिए यहाँ क्लिक करे



Related Posts

About The Author

Add Comment