Redirecting your domain from https to http using .htaccess in cPanel

 

This article will show you how to use cPanel’s file manager to force redirect all traffic coming over https:// to http:// via your .htaccess


RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

==========

1. Log into cPanel.

2. Click the File Manager icon.

3. At the top right, click the Settings button.

4. Check the Show Hidden Files (dotfiles) box and click Save 

5. Now you have to locate the .htaccess file for the site you want to apply the redirect to.  In most cases, it will be located in the public_html folder so we will double click that.

6. From here, find your .htaccess file, right click it and click Edit

7. Now at the top of the file, copy and paste the following code:

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Like so:

8. Lastly click Save Changes at the top right.

Going forward anytime someone visits your site using https:// they will be redirected to http://


Leave a Reply